summaryrefslogtreecommitdiff
path: root/src/code/sys_debug_controller.c
diff options
context:
space:
mode:
authorcadmic <cadmic24@gmail.com>2024-12-08 16:38:58 -0800
committerGitHub <noreply@github.com>2024-12-08 19:38:58 -0500
commitd886e76960f47795849d2ca14cef855cdb00242d (patch)
tree94adcb20465b4bc8a0bdbbd2e241295217424d12 /src/code/sys_debug_controller.c
parent40930acf113f687d7fd4de3d832f593a6390ac4b (diff)
Split code_800D31A0.c into sys_freeze.c and sys_debug_controller.c (#2315)
Diffstat (limited to 'src/code/sys_debug_controller.c')
-rw-r--r--src/code/sys_debug_controller.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/code/sys_debug_controller.c b/src/code/sys_debug_controller.c
new file mode 100644
index 000000000..eb1398ff2
--- /dev/null
+++ b/src/code/sys_debug_controller.c
@@ -0,0 +1,11 @@
+#include "global.h"
+
+u32 gIsCtrlr2Valid = false;
+
+void func_800D31F0(void) {
+ gIsCtrlr2Valid = (gPadMgr.validCtrlrsMask & 2) != 0;
+}
+
+void func_800D3210(void) {
+ gIsCtrlr2Valid = false;
+}