1
0
Fork 0

Don't change colours on text mode stuff.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2656
This commit is contained in:
Peter Veenstra 2006-06-21 08:52:02 +00:00
parent e3fe68c847
commit bf6a8d4c3d

View file

@ -239,6 +239,8 @@ void INT10_SetColorSelect(Bit8u val) {
if (machine == MCH_CGA || IS_TANDY_ARCH)
IO_Write(0x3d9,temp);
else if (machine == MCH_VGA) {
if (CurMode->mode <= 3) //Maybe even skip the total function!
return;
val = (temp & 0x10) | 2 | val;
INT10_SetSinglePaletteRegister( 1, val );
val+=2;