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

Properly restore DZ Modem Control state during a simulator RESTORE.

This commit is contained in:
Mark Pizzolato 2013-04-16 09:11:24 -07:00
parent 93c9f35948
commit 814960e253

View File

@ -744,7 +744,7 @@ t_stat dz_attach (UNIT *uptr, char *cptr)
int32 dz, muxln;
t_stat r;
if (sim_switches & SWMASK ('M')) /* modem control? */
if ((sim_switches & SWMASK ('M')) || dz_mctl) /* modem control? */
tmxr_set_modem_control_passthru (&dz_desc);
r = tmxr_attach (&dz_desc, uptr, cptr); /* attach mux */
if (r != SCPE_OK) { /* error? */