Finish out game options and FatalError

Some data cleanup as well. Thanks pika for the noreturn tip for
FatalError.
This commit is contained in:
Seth Barberee
2021-06-23 17:35:37 -05:00
parent f1fdcc2b0a
commit d168537968
27 changed files with 1783 additions and 1979 deletions
+3 -3
View File
@@ -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();
}*/
}