[nostalgia/core/gba] Make panic use standard abort call
This commit is contained in:
parent
03d1fd2857
commit
4e4d8d2c3f
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <ox/std/def.hpp>
|
#include <ox/std/def.hpp>
|
||||||
|
#include <ox/std/realstd.hpp>
|
||||||
|
|
||||||
#include <keel/media.hpp>
|
#include <keel/media.hpp>
|
||||||
#include <turbine/turbine.hpp>
|
#include <turbine/turbine.hpp>
|
||||||
@ -51,9 +52,7 @@ OX_ALLOW_UNSAFE_BUFFERS_END
|
|||||||
if (err.src.file_name() != nullptr) {
|
if (err.src.file_name() != nullptr) {
|
||||||
oxErrf("\tError Location:\t{}:{}\n", err.src.file_name(), err.src.line());
|
oxErrf("\tError Location:\t{}:{}\n", err.src.file_name(), err.src.line());
|
||||||
}
|
}
|
||||||
// disable all interrupt handling and IntrWait on no interrupts
|
abort();
|
||||||
REG_IE = 0;
|
|
||||||
teagba::intrwait(0, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user