From af5b21b0130a5a988c000da03c3fcbf1c7b12e41 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Tue, 1 May 2007 12:24:58 +0000 Subject: [PATCH] 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 --- src/ints/int10_modes.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ints/int10_modes.cpp b/src/ints/int10_modes.cpp index a5331424..9e5a8824 100644 --- a/src/ints/int10_modes.cpp +++ b/src/ints/int10_modes.cpp @@ -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;