From 4e4d8d2c3f0f382e05323a98d171037e07169f8c Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 13 Jan 2025 21:37:29 -0600 Subject: [PATCH] [nostalgia/core/gba] Make panic use standard abort call --- src/nostalgia/modules/core/src/gba/panic.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/nostalgia/modules/core/src/gba/panic.cpp b/src/nostalgia/modules/core/src/gba/panic.cpp index a0093183..1014a4a1 100644 --- a/src/nostalgia/modules/core/src/gba/panic.cpp +++ b/src/nostalgia/modules/core/src/gba/panic.cpp @@ -4,6 +4,7 @@ #include +#include #include #include @@ -51,9 +52,7 @@ OX_ALLOW_UNSAFE_BUFFERS_END if (err.src.file_name() != nullptr) { oxErrf("\tError Location:\t{}:{}\n", err.src.file_name(), err.src.line()); } - // disable all interrupt handling and IntrWait on no interrupts - REG_IE = 0; - teagba::intrwait(0, 0); + abort(); } }