From f6ba32389199ac25e9f034b4b5a6622f14640954 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Thu, 18 Dec 2014 10:41:31 -0800 Subject: [PATCH] SCP: Fix bug when debug file is opened with -N option. --- sim_console.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sim_console.c b/sim_console.c index 05fb42a8..30aff947 100644 --- a/sim_console.c +++ b/sim_console.c @@ -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)); 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; }