SCP: Fix bug when debug file is opened with -N option.
This commit is contained in:
parent
42e7d48c82
commit
f6ba323891
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue