[nostalgia/core/gba] Add test for malloc and unify panic systems

This commit is contained in:
2020-02-11 21:17:10 -06:00
parent ea14ccac3a
commit fffc66f18b
6 changed files with 141 additions and 67 deletions
+1 -2
View File
@@ -14,7 +14,6 @@
#include <nostalgia/core/gfx.hpp>
#include "addresses.hpp"
#include "panic.hpp"
namespace nostalgia::core {
@@ -102,7 +101,7 @@ ox::Error shutdownGfx() {
case 3:
return REG_BG3CNT;
default:
panic("Looking up non-existent register");
oxPanic("Looking up non-existent register", OxError(1));
return REG_BG0CNT;
}
}