1
0
Fork 0

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:
Sebastian Strohhäcker 2007-02-27 19:48:46 +00:00
parent 2d4ce67ff8
commit 486d5ca7a8

View file

@ -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.