Committed possible EGA and (S)VGA fix.
This commit is contained in:
@@ -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);
|
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);
|
else ega->egapal[c] = (ega->attrregs[c] & 0x3f) | ((ega->attrregs[0x14] & 0xc) << 4);
|
||||||
}
|
}
|
||||||
|
fullchange = changeframecount;
|
||||||
}
|
}
|
||||||
/* Recalculate timings on change of attribute register 0x11
|
/* Recalculate timings on change of attribute register 0x11
|
||||||
(overscan border color) too. */
|
(overscan border color) too. */
|
||||||
|
|||||||
@@ -120,6 +120,7 @@ svga_out(uint16_t addr, uint8_t val, void *p)
|
|||||||
((svga->attrregs[0x14] & 0xc) << 4);
|
((svga->attrregs[0x14] & 0xc) << 4);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
svga->fullchange = changeframecount;
|
||||||
}
|
}
|
||||||
/* Recalculate timings on change of attribute register 0x11
|
/* Recalculate timings on change of attribute register 0x11
|
||||||
(overscan border color) too. */
|
(overscan border color) too. */
|
||||||
|
|||||||
Reference in New Issue
Block a user