Kernel: Kernel::Panic now checks that TTY is initialized instead of VESA

This commit is contained in:
2023-01-13 15:04:06 +02:00
parent 77e82de51e
commit 416a41745f
5 changed files with 8 additions and 10 deletions
+5
View File
@@ -351,3 +351,8 @@ void TTY::PutCharCurrent(char ch)
ASSERT(s_tty);
s_tty->PutChar(ch);
}
bool TTY::IsInitialized()
{
return s_tty != nullptr;
}