Files
oot/src/code/code_800D31A0.c
T
fig02 17edb82c0d Decouple Debug Features From gc-eu-mq-dbg (#2296)
* 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
2024-11-17 17:02:07 -05:00

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