1
0
Fork 0

Implement an obscure behavior of the VGA DAC, similar to what was done for Star Control 2. Fixes wrong colors in Planet Soccer/Football.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@4000
This commit is contained in:
ripsaw8080 2016-10-03 09:49:59 +00:00
parent a3345eed24
commit 7cd00b3d84

View file

@ -96,6 +96,7 @@ static void write_p3c8(Bitu port,Bitu val,Bitu iolen) {
vga.dac.write_index=val;
vga.dac.pel_index=0;
vga.dac.state=DAC_WRITE;
vga.dac.read_index= val - 1;
}
static Bitu read_p3c8(Bitu port, Bitu iolen){