2020-03-29 01:24:39 +00:00
|
|
|
#include <global.h>
|
|
|
|
#include <padmgr.h>
|
2020-03-29 09:57:52 +00:00
|
|
|
#include <vt.h>
|
2020-03-29 01:24:39 +00:00
|
|
|
|
|
|
|
extern PadMgr gPadMgr;
|
|
|
|
|
2020-03-29 09:57:52 +00:00
|
|
|
u32 D_8012DBC0 = false;
|
2020-03-29 01:24:39 +00:00
|
|
|
|
|
|
|
void func_800D31A0() {
|
2020-03-29 09:57:52 +00:00
|
|
|
osSyncPrintf(VT_FGCOL(RED) "\n**** Freeze!! ****\n" VT_RST);
|
2020-03-29 01:24:39 +00:00
|
|
|
while (true) {
|
2020-04-08 16:36:15 +00:00
|
|
|
Sleep_Msec(1000);
|
2020-03-29 01:24:39 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void func_800D31F0() {
|
|
|
|
PadMgr* padMgr = (PadMgr*)(u32)&gPadMgr; // cast required to match
|
|
|
|
|
|
|
|
D_8012DBC0 = (padMgr->unk_2A8 & 2) != 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void func_800D3210() {
|
|
|
|
D_8012DBC0 = false;
|
|
|
|
}
|