mirror of
https://github.com/simh/simh.git
synced 2026-05-05 15:33:34 +00:00
Properly restore DZ Modem Control state during a simulator RESTORE.
This commit is contained in:
@@ -744,7 +744,7 @@ t_stat dz_attach (UNIT *uptr, char *cptr)
|
|||||||
int32 dz, muxln;
|
int32 dz, muxln;
|
||||||
t_stat r;
|
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);
|
tmxr_set_modem_control_passthru (&dz_desc);
|
||||||
r = tmxr_attach (&dz_desc, uptr, cptr); /* attach mux */
|
r = tmxr_attach (&dz_desc, uptr, cptr); /* attach mux */
|
||||||
if (r != SCPE_OK) { /* error? */
|
if (r != SCPE_OK) { /* error? */
|
||||||
|
|||||||
Reference in New Issue
Block a user