mirror of
https://github.com/JorjBauer/aiie.git
synced 2025-01-14 13:33:08 +00:00
graphics error: don't clear HIRES when we enter TEXT mode
This commit is contained in:
parent
a90ae0a991
commit
6664d8b323
@ -113,8 +113,8 @@ void AppleMMU::write(uint16_t address, uint8_t v)
|
||||
if (address >= 0x400 &&
|
||||
address <= 0x7FF) {
|
||||
|
||||
// If it's mixed mode, or if it's not HIRES mode, then force a redraw
|
||||
if (!(switches & S_HIRES) || (switches & S_MIXED)) {
|
||||
// If it's text mode, or mixed mode, or lores graphics mode, then update.
|
||||
if ((switches & S_TEXT) || (switches & S_MIXED) || (!(switches & S_HIRES))) {
|
||||
// Force a redraw
|
||||
display->modeChange();
|
||||
}
|
||||
@ -393,8 +393,6 @@ uint8_t AppleMMU::readSwitches(uint16_t address)
|
||||
case 0xC051: // SETTEXT
|
||||
if (!(switches & S_TEXT)) {
|
||||
switches |= S_TEXT;
|
||||
// also make sure we're *out* of HIRES mode.
|
||||
switches &= ~S_HIRES;
|
||||
resetDisplay();
|
||||
}
|
||||
return FLOATING;
|
||||
|
Loading…
x
Reference in New Issue
Block a user