[nostalgia/core/gba] Make panic use standard abort call

This commit is contained in:
Gary Talent 2025-01-13 21:37:29 -06:00
parent 03d1fd2857
commit 4e4d8d2c3f

View File

@ -4,6 +4,7 @@
#include <ox/std/def.hpp>
#include <ox/std/realstd.hpp>
#include <keel/media.hpp>
#include <turbine/turbine.hpp>
@ -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();
}
}