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

This commit is contained in:
Bananymous
2023-01-13 14:41:29 +02:00
parent 77e82de51e
commit 416a41745f
5 changed files with 8 additions and 10 deletions

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;
}