1
0
Fork 0

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
This commit is contained in:
Peter Veenstra 2005-10-11 09:39:16 +00:00
parent b475db8f13
commit bb792e21a1

View file

@ -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);