[nostalgia/core/gba] Update panic to take Error reference
This commit is contained in:
parent
841a7436c1
commit
abf45112b0
@ -19,7 +19,7 @@ namespace ox {
|
|||||||
|
|
||||||
using namespace nostalgia::core;
|
using namespace nostalgia::core;
|
||||||
|
|
||||||
void panic(const char*, int, const char *msg, ox::Error err) {
|
void panic(const char*, int, const char *msg, const ox::Error &err) noexcept {
|
||||||
oxIgnoreError(initGfx(nullptr));
|
oxIgnoreError(initGfx(nullptr));
|
||||||
oxIgnoreError(initConsole(nullptr));
|
oxIgnoreError(initConsole(nullptr));
|
||||||
// enable only BG 0
|
// enable only BG 0
|
||||||
|
Loading…
Reference in New Issue
Block a user