mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-09 11:51:09 +08:00
INT 10h: VGA DAC read index, too
This commit is contained in:
parent
b9f7577f88
commit
e1df6f97c4
@ -1532,7 +1532,8 @@ dac_text16:
|
||||
if (modeset_ctl & 2) INT10_PerformGrayScaleSumming(0,256);
|
||||
}
|
||||
/* make sure the DAC index is reset on modeset */
|
||||
IO_Write(0x3c8,0);
|
||||
IO_Write(0x3c7,0); /* according to src/hardware/vga_dac.cpp this sets read_index=0 and write_index=1 */
|
||||
IO_Write(0x3c8,0); /* so set write_index=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