Clear screen on mode switch
This commit is contained in:
parent
b28a8c6e2a
commit
f214cab20b
|
@ -210,7 +210,7 @@ VbeSetMode (Vm86InfoPtr vi, VbeInfoPtr vbe, int mode, int linear, int direct)
|
||||||
if (code < 0)
|
if (code < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
mode = (mode & 0xffff) | 0x8000;
|
mode = (mode & 0xffff) &~ 0x8000;
|
||||||
if (linear)
|
if (linear)
|
||||||
mode |= 0x4000;
|
mode |= 0x4000;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user