mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 03:41:10 +08:00
INT 10h: Make sure VGA DAC currenet index is reset to 0 after modeset (fixes color palette errors in Second Reality)
This commit is contained in:
parent
cf142387b7
commit
b9f7577f88
@ -1531,6 +1531,8 @@ dac_text16:
|
||||
/* check if gray scale summing is enabled */
|
||||
if (modeset_ctl & 2) INT10_PerformGrayScaleSumming(0,256);
|
||||
}
|
||||
/* make sure the DAC index is reset on modeset */
|
||||
IO_Write(0x3c8,0);
|
||||
} else {
|
||||
for (Bit8u ct=0x10;ct<ATT_REGS;ct++) {
|
||||
if (ct==0x11) continue; // skip overscan register
|
||||
|
Loading…
x
Reference in New Issue
Block a user