summaryrefslogtreecommitdiff
path: root/soh/src/code/code_800D31A0.c
diff options
context:
space:
mode:
authorM4xw <m4x@m4xw.net>2022-03-22 02:51:23 +0100
committerM4xw <m4x@m4xw.net>2022-03-22 02:51:23 +0100
commit39cc86c2608e2f75ace33fc7f43bc4f2ad743f1a (patch)
tree0d3fd9e995d7484eaaeb158ac808bd6a39121189 /soh/src/code/code_800D31A0.c
parent0bb0e7b53bd80bdc7f78e08c441691737e039b2b (diff)
git subrepo clone https://github.com/HarbourMasters/soh.git
subrepo: subdir: "soh" merged: "ba904bbd0" upstream: origin: "https://github.com/HarbourMasters/soh.git" branch: "master" commit: "ba904bbd0" git-subrepo: version: "0.4.1" origin: "???" commit: "???"
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;
+}