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:
parent
e3fe68c847
commit
bf6a8d4c3d
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue