mirror of
https://github.com/rcornwell/sims.git
synced 2026-01-19 01:18:10 +00:00
KA10: Call display_close when disabling DPY.
This commit is contained in:
parent
fc59ee4c67
commit
6eae899da8
@ -300,7 +300,9 @@ t_stat dpy_svc (UNIT *uptr)
|
||||
|
||||
t_stat dpy_reset (DEVICE *dptr)
|
||||
{
|
||||
if (!(dptr->flags & DEV_DIS)) {
|
||||
if (dptr->flags & DEV_DIS) {
|
||||
display_close(dptr);
|
||||
} else {
|
||||
display_reset();
|
||||
ty340_reset(dptr);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user