[nostalgia] Replace C strings with ox::StringView
This commit is contained in:
@@ -27,7 +27,7 @@ void panic(const char*, int, const char *msg, const ox::Error &err) noexcept {
|
||||
puts(nullptr, 32 + 1, 4, "UNEXPECTED STATE:");
|
||||
puts(nullptr, 32 + 2, 6, msg);
|
||||
if (err) {
|
||||
puts(nullptr, 32 + 2, 8, serr.c_str());
|
||||
puts(nullptr, 32 + 2, 8, serr);
|
||||
}
|
||||
puts(nullptr, 32 + 1, 15, "PLEASE RESTART THE SYSTEM");
|
||||
// disable all interrupt handling and IntrWait on no interrupts
|
||||
|
||||
Reference in New Issue
Block a user