1
0
Fork 0

allow non-palette vga attr registers to always be modified during modeswitch (fixes Dreamweb)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2948
This commit is contained in:
Sebastian Strohhäcker 2007-08-05 15:33:02 +00:00
parent 8011899154
commit e60fb98981

View file

@ -936,6 +936,11 @@ dac_text16:
}
}
} else {
for (i=0x10;i<ATT_REGS;i++) {
if (i==0x11) continue; // skip overscan register
IO_Write(0x3c0,i);
IO_Write(0x3c0,att_data[i]);
}
IO_Write(0x3c0,0x20); //Disable palette access
}
/* Setup some special stuff for different modes */