From abf45112b04fb90192b0b571220820a273b21eff Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Tue, 20 Apr 2021 22:11:17 -0500 Subject: [PATCH] [nostalgia/core/gba] Update panic to take Error reference --- src/nostalgia/core/gba/panic.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nostalgia/core/gba/panic.cpp b/src/nostalgia/core/gba/panic.cpp index 0d4e35e0..ee3b1e03 100644 --- a/src/nostalgia/core/gba/panic.cpp +++ b/src/nostalgia/core/gba/panic.cpp @@ -19,7 +19,7 @@ namespace ox { 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(initConsole(nullptr)); // enable only BG 0