summaryrefslogtreecommitdiff
path: root/soh/src/code/code_800D31A0.c
diff options
context:
space:
mode:
Diffstat (limited to 'soh/src/code/code_800D31A0.c')
-rw-r--r--soh/src/code/code_800D31A0.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/soh/src/code/code_800D31A0.c b/soh/src/code/code_800D31A0.c
new file mode 100644
index 000000000..8e8a438c6
--- /dev/null
+++ b/soh/src/code/code_800D31A0.c
@@ -0,0 +1,19 @@
+#include "global.h"
+#include "vt.h"
+
+u32 gIsCtrlr2Valid = false;
+
+void func_800D31A0(void) {
+ osSyncPrintf(VT_FGCOL(RED) "\n**** Freeze!! ****\n" VT_RST);
+ while (true) {
+ Sleep_Msec(1000);
+ }
+}
+
+void func_800D31F0(void) {
+ gIsCtrlr2Valid = (gPadMgr.validCtrlrsMask & 2) != 0;
+}
+
+void func_800D3210(void) {
+ gIsCtrlr2Valid = false;
+}