mirror of
https://github.com/zeldaret/oot
synced 2026-05-23 23:05:31 -04:00
17edb82c0d
* rename OOT_DEBUG to DEBUG_FEATURES * makefile changes * add DEBUG_ASSETS * fix DEBUG_FEATURES usages * format * fix errors * review * fix problem and review2 * review * add DEBUG_FEATURES to DEBUG_ASSETS check * review * whoops * format
24 lines
413 B
C
24 lines
413 B
C
#include "global.h"
|
|
#include "terminal.h"
|
|
|
|
#if DEBUG_FEATURES
|
|
u32 gIsCtrlr2Valid = false;
|
|
#endif
|
|
|
|
NORETURN void func_800D31A0(void) {
|
|
PRINTF(VT_FGCOL(RED) "\n**** Freeze!! ****\n" VT_RST);
|
|
for (;;) {
|
|
Sleep_Msec(1000);
|
|
}
|
|
}
|
|
|
|
#if DEBUG_FEATURES
|
|
void func_800D31F0(void) {
|
|
gIsCtrlr2Valid = (gPadMgr.validCtrlrsMask & 2) != 0;
|
|
}
|
|
|
|
void func_800D3210(void) {
|
|
gIsCtrlr2Valid = false;
|
|
}
|
|
#endif
|