summaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/debug.c b/src/debug.c
index 59fdc1a..aeccbe8 100644
--- a/src/debug.c
+++ b/src/debug.c
@@ -5,6 +5,7 @@
#include "debug.h"
extern void Hang();
+void FatalErrorHang(void) __attribute__((noreturn));
extern bool32 gNDS_DebugEnabled;
extern u8 gUnknown_203B150;
@@ -236,8 +237,7 @@ void FatalErrorHang()
Hang();
}
-/*void
-FatalError(struct DebugLocation *debug, const char *text, ...)
+void FatalError(struct DebugLocation *debug, const char *text, ...)
{
char buf[0x100];
va_list vArgv;
@@ -248,4 +248,4 @@ FatalError(struct DebugLocation *debug, const char *text, ...)
va_end(vArgv);
FatalErrorFormatMessage(gUnknown_80D42D4, buf);
FatalErrorHang();
-}*/
+}