1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 16:18:12 +00:00

Kernel/Graphics: Don't assert when disabling TextModeConsole

Not sure how it's useful to do so, let's not assert if something tries
to disable it. If we will use TextModeConsole as a boot console, that
console will be disabled after loading an appropriate console to replace
it.
This commit is contained in:
Liav A 2022-02-09 21:00:39 +02:00 committed by Linus Groh
parent 90a194377c
commit 278b0aa629

View file

@ -31,7 +31,7 @@ public:
virtual void flush(size_t, size_t, size_t, size_t) override { }
virtual void enable() override { }
virtual void disable() override { VERIFY_NOT_REACHED(); }
virtual void disable() override { }
private:
void clear_vga_row(u16 row);