diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-06-23 17:35:37 -0500 |
---|---|---|
committer | Seth Barberee <seth.barberee@gmail.com> | 2021-06-23 17:35:37 -0500 |
commit | d1685379681008d41f78fa4a6ae17ace5ee2dbfa (patch) | |
tree | 22645f079beea40333e7e822f055c063781ef806 /src/debug.c | |
parent | f1fdcc2b0ade13ad1a4cc7360eac70f27396d26a (diff) |
Finish out game options and FatalError
Some data cleanup as well. Thanks pika for the noreturn tip for
FatalError.
Diffstat (limited to 'src/debug.c')
-rw-r--r-- | src/debug.c | 6 |
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(); -}*/ +} |