[nostalgia/core/gba] Update panic to take Error reference

This commit is contained in:
Gary Talent 2021-04-20 22:11:17 -05:00
parent 841a7436c1
commit abf45112b0

View File

@ -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