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:
parent
d119854631
commit
ef7977c18b
@ -199,13 +199,17 @@ SEGMENT_READER(apple2_dbuf_switch_read)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case 0xC05E:
|
case 0xC05E:
|
||||||
apple2_set_display(mach,
|
if (mach->display_mode & DISPLAY_IOUDIS) {
|
||||||
mach->display_mode | DISPLAY_DHIRES);
|
apple2_set_display(mach,
|
||||||
|
mach->display_mode | DISPLAY_DHIRES);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0xC05F:
|
case 0xC05F:
|
||||||
apple2_set_display(mach,
|
if (mach->display_mode & DISPLAY_IOUDIS) {
|
||||||
mach->display_mode & ~DISPLAY_DHIRES);
|
apple2_set_display(mach,
|
||||||
|
mach->display_mode & ~DISPLAY_DHIRES);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user