From c13994c8343e31e5a9e8596c34f331f4d62206df Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Mon, 21 Nov 2005 13:10:19 +0000 Subject: [PATCH] Fix colours YPM when in cga mode. Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2382 --- src/ints/int10.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ints/int10.cpp b/src/ints/int10.cpp index 6edfe462..5ca6781e 100644 --- a/src/ints/int10.cpp +++ b/src/ints/int10.cpp @@ -113,6 +113,9 @@ static Bitu INT10_Handler(void) { case 0x01: //Set color Select INT10_SetColorSelect(reg_bl); break; + default: + if(machine == MCH_CGA) INT10_SetColorSelect(reg_bl); + break; } break; case 0x0C: /* Write Graphics Pixel */