allow non-palette vga attr registers to always be modified during modeswitch (fixes Dreamweb)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2948
This commit is contained in:
parent
8011899154
commit
e60fb98981
1 changed files with 5 additions and 0 deletions
|
@ -936,6 +936,11 @@ dac_text16:
|
|||
}
|
||||
}
|
||||
} else {
|
||||
for (i=0x10;i<ATT_REGS;i++) {
|
||||
if (i==0x11) continue; // skip overscan register
|
||||
IO_Write(0x3c0,i);
|
||||
IO_Write(0x3c0,att_data[i]);
|
||||
}
|
||||
IO_Write(0x3c0,0x20); //Disable palette access
|
||||
}
|
||||
/* Setup some special stuff for different modes */
|
||||
|
|
Loading…
Add table
Reference in a new issue