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:
parent
a3345eed24
commit
7cd00b3d84
1 changed files with 1 additions and 0 deletions
|
@ -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){
|
||||
|
|
Loading…
Add table
Reference in a new issue