mirror of
https://github.com/86Box/86Box.git
synced 2025-01-23 09:42:47 -05:00
Committed possible EGA and (S)VGA fix.
This commit is contained in:
parent
c44dd4bb9a
commit
bff29cc69d
2 changed files with 2 additions and 0 deletions
|
@ -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. */
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue