Commit f214cab2 authored by Keith Packard's avatar Keith Packard
Browse files

Clear screen on mode switch

parent b28a8c6e
......@@ -210,7 +210,7 @@ VbeSetMode (Vm86InfoPtr vi, VbeInfoPtr vbe, int mode, int linear, int direct)
if (code < 0)
return -1;
mode = (mode & 0xffff) | 0x8000;
mode = (mode & 0xffff) &~ 0x8000;
if (linear)
mode |= 0x4000;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment