1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-13 23:37:13 +00:00

SCP: Fix SET DEBUG switch interpretation

This commit is contained in:
Mark Pizzolato 2013-09-25 16:41:05 -07:00
parent daed1e576f
commit ab028c0a37

View File

@ -1057,7 +1057,7 @@ if (r != SCPE_OK)
if (sim_deb_switches & SWMASK ('R')) {
clock_gettime(CLOCK_REALTIME, &sim_deb_basetime);
if (!(sim_deb_switches & (SWMASK ('A') || SWMASK ('T'))))
if (!(sim_deb_switches & (SWMASK ('A') | SWMASK ('T'))))
sim_deb_switches |= SWMASK ('T');
}
if (sim_deb_switches & SWMASK ('P'))