Committed possible EGA and (S)VGA fix.

This commit is contained in:
OBattler 2022-02-11 00:15:11 +01:00
parent c44dd4bb9a
commit bff29cc69d
2 changed files with 2 additions and 0 deletions

View file

@ -125,6 +125,7 @@ ega_out(uint16_t addr, uint8_t val, void *p)
if (ega->attrregs[0x10] & 0x80) ega->egapal[c] = (ega->attrregs[c] & 0xf) | ((ega->attrregs[0x14] & 0xf) << 4);
else ega->egapal[c] = (ega->attrregs[c] & 0x3f) | ((ega->attrregs[0x14] & 0xc) << 4);
}
fullchange = changeframecount;
}
/* Recalculate timings on change of attribute register 0x11
(overscan border color) too. */

View file

@ -120,6 +120,7 @@ svga_out(uint16_t addr, uint8_t val, void *p)
((svga->attrregs[0x14] & 0xc) << 4);
}
}
svga->fullchange = changeframecount;
}
/* Recalculate timings on change of attribute register 0x11
(overscan border color) too. */