fully ignore screen-off bit (fixes Darklands, Skyroads3d)
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2828
This commit is contained in:
parent
2d4ce67ff8
commit
486d5ca7a8
1 changed files with 3 additions and 1 deletions
|
@ -40,7 +40,9 @@ void write_p3c5(Bitu port,Bitu val,Bitu iolen) {
|
|||
case 1: /* Clocking Mode */
|
||||
if (val!=seq(clocking_mode)) {
|
||||
seq(clocking_mode)=val;
|
||||
VGA_StartResize();
|
||||
// don't resize if only the screen off bit was changed
|
||||
if ((val&(~0x20))!=(seq(clocking_mode)&(~0x20)))
|
||||
VGA_StartResize();
|
||||
}
|
||||
/* TODO Figure this out :)
|
||||
0 If set character clocks are 8 dots wide, else 9.
|
||||
|
|
Loading…
Add table
Reference in a new issue