mirror of
https://github.com/pevans/erc-c.git
synced 2024-08-19 17:29:34 +00:00
Only set or unset DHIRES if IOUDIS is on
This commit is contained in:
parent
d119854631
commit
ef7977c18b
@ -199,13 +199,17 @@ SEGMENT_READER(apple2_dbuf_switch_read)
|
||||
break;
|
||||
|
||||
case 0xC05E:
|
||||
apple2_set_display(mach,
|
||||
mach->display_mode | DISPLAY_DHIRES);
|
||||
if (mach->display_mode & DISPLAY_IOUDIS) {
|
||||
apple2_set_display(mach,
|
||||
mach->display_mode | DISPLAY_DHIRES);
|
||||
}
|
||||
break;
|
||||
|
||||
case 0xC05F:
|
||||
apple2_set_display(mach,
|
||||
mach->display_mode & ~DISPLAY_DHIRES);
|
||||
if (mach->display_mode & DISPLAY_IOUDIS) {
|
||||
apple2_set_display(mach,
|
||||
mach->display_mode & ~DISPLAY_DHIRES);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user