make usb.vhd if missing, fix clear behavior
This commit is contained in:
1 parent
467a58c9c6
commit
ee55de0534
3 files changed
+34
-2
No files matched your search
@@ -677,8 +677,11 @@ static KSTATUS KiDisplayClearLocked(uint32_t color) {
|
||||
return s;
|
||||
KiDisplayBeginDraw();
|
||||
s = KiDisplayFillRectNoCursor(0, 0, (int)mode.Width, (int)mode.Height, color);
|
||||
if (KSUCCESS(s))
|
||||
if (KSUCCESS(s)) {
|
||||
KiDisplayConsoleResetCellsLocked();
|
||||
gConsoleX = 0;
|
||||
gConsoleY = 0;
|
||||
}
|
||||
KSTATUS ps = KiDisplayEndDraw();
|
||||
return KSUCCESS(s) ? ps : s;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user