1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-12-21 23:29:16 +00:00

Only set or unset DHIRES if IOUDIS is on

This commit is contained in:
Peter Evans 2018-01-21 21:32:22 -06:00
parent d119854631
commit ef7977c18b

View File

@ -199,13 +199,17 @@ SEGMENT_READER(apple2_dbuf_switch_read)
break;
case 0xC05E:
if (mach->display_mode & DISPLAY_IOUDIS) {
apple2_set_display(mach,
mach->display_mode | DISPLAY_DHIRES);
}
break;
case 0xC05F:
if (mach->display_mode & DISPLAY_IOUDIS) {
apple2_set_display(mach,
mach->display_mode & ~DISPLAY_DHIRES);
}
break;
}