mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-14 21:40:03 +00:00
24 lines
426 B
C
24 lines
426 B
C
|
#include <global.h>
|
||
|
#include <padmgr.h>
|
||
|
|
||
|
extern PadMgr gPadMgr;
|
||
|
|
||
|
u32 D_8012DBC0 = 0;
|
||
|
|
||
|
void func_800D31A0() {
|
||
|
osSyncPrintf("\x1b[31m\n**** Freeze!! ****\n\x1b[m");
|
||
|
while (true) {
|
||
|
func_800FF4AC(1000); // msleep
|
||
|
}
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|