1
0
Fork 0

reset pelmask on a new mode. Fixes univbe 5.0lite with panzer general

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2847
This commit is contained in:
Peter Veenstra 2007-05-01 12:24:58 +00:00
parent 9a495a6bbc
commit af5b21b013

View file

@ -880,6 +880,7 @@ att_text16:
IO_Write(0x3c0,0x20); IO_Write(0x3c0,0x00); //Disable palette access
/* Setup the DAC */
IO_Write(0x3c8,0);
IO_Write(0x3c6,0xff); //Reset Pelmask
switch (CurMode->type) {
case M_EGA:
if (CurMode->mode>0xf) goto dac_text16;