1
0
Fork 0

Leave attribute controller in index state after a mode change. Some video BIOS do this, some don't, but it works around a flaw in the Kukoo2 demo.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4134
This commit is contained in:
ripsaw8080 2018-08-05 13:28:29 +00:00
parent 31063f868a
commit 01e3789c49

View file

@ -1458,6 +1458,7 @@ dac_text16:
/* Set vga attrib register into defined state */
IO_Read(mono_mode ? 0x3ba : 0x3da);
IO_Write(0x3c0,0x20);
IO_Read(mono_mode ? 0x3ba : 0x3da); // Kukoo2 demo
/* Load text mode font */
if (CurMode->type==M_TEXT) {