SCP: Fix bug when debug file is opened with -N option.

This commit is contained in:
Mark Pizzolato 2014-12-18 10:41:31 -08:00
parent 42e7d48c82
commit f6ba323891

View file

@ -1284,6 +1284,8 @@ if (!sim_quiet) {
fprintf (sim_deb, "Debug output to \"%s\" at %s", sim_logfile_name (sim_deb, sim_deb_ref), ctime(&now)); fprintf (sim_deb, "Debug output to \"%s\" at %s", sim_logfile_name (sim_deb, sim_deb_ref), ctime(&now));
show_version (sim_deb, NULL, NULL, 0, NULL); show_version (sim_deb, NULL, NULL, 0, NULL);
} }
if (sim_deb_switches & SWMASK ('N'))
sim_deb_switches &= ~SWMASK ('N'); /* Only process the -N flag initially */
return SCPE_OK; return SCPE_OK;
} }