1
0
Fork 0

Small index with attribute index flipflop not being reset on reads

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@118
This commit is contained in:
Sjoerd van der Berg 2002-08-07 18:16:15 +00:00
parent 9e48fbd6b5
commit 2729764d1f

View file

@ -129,6 +129,7 @@ void write_p3c0(Bit32u port,Bit8u val) {
}
Bit8u read_p3c1(Bit32u port) {
vga.internal.attrindex=false;
switch (attr(index)) {
/* Palette */
case 0x00: case 0x01: case 0x02: case 0x03: