From d886e76960f47795849d2ca14cef855cdb00242d Mon Sep 17 00:00:00 2001 From: cadmic Date: Sun, 8 Dec 2024 16:38:58 -0800 Subject: Split code_800D31A0.c into sys_freeze.c and sys_debug_controller.c (#2315) --- src/code/sys_debug_controller.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/code/sys_debug_controller.c (limited to 'src/code/sys_debug_controller.c') 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; +} -- cgit v1.2.3