From bb792e21a124c75f441f9d84cc25e3bdf77ef569 Mon Sep 17 00:00:00 2001 From: Peter Veenstra Date: Tue, 11 Oct 2005 09:39:16 +0000 Subject: [PATCH] Change composite mode detection a bit so that spellcasting 101 displays in black and white Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2346 --- src/hardware/vga_other.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/vga_other.cpp b/src/hardware/vga_other.cpp index 0d7900da..5ae48a0d 100644 --- a/src/hardware/vga_other.cpp +++ b/src/hardware/vga_other.cpp @@ -267,7 +267,7 @@ static void write_cga(Bitu port,Bitu val,Bitu iolen) { vga.tandy.mode_control=val; if (vga.tandy.mode_control & 0x2) { if (vga.tandy.mode_control & 0x10) { - if (val & 0x8 && machine==MCH_CGA) { + if (!(val & 0x4) && machine==MCH_CGA) { VGA_SetMode(M_CGA16); //Video burst 16 160x200 color mode } else { VGA_SetMode(M_TANDY2);