1
0
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:
Lars Brinkhoff 2020-02-04 09:43:30 +01:00
parent fc59ee4c67
commit 6eae899da8

View File

@ -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);
}