mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-14 13:30:47 +00:00
5aef81071e
* In process of moving changes over from old repo * Merged in changes * Finished import of padmgr changes from old repo * Adjusted some volatile * Improving padmgr volatile situation * Almost matched osReadMempak * Working on osMempakDataCRC * Explanations and equivalents but no matches for osMempakAddrCRC and osMempakDataCRC * OK after merge * Matched osMempakAddrCRC and osMempakDataCRC * Matched osReadMempak * Updated PadMgr function names to be less like original code * Changed variable names to make them further from original code * Changed names and it stopped matching * Undid clang-format steamrollering whitespace memes * Cleaned up Input names * More formatting changes * Moved padmgr to z64.h, deleted padmgr.h
21 lines
356 B
C
21 lines
356 B
C
#include <global.h>
|
|
#include <vt.h>
|
|
|
|
extern PadMgr gPadMgr;
|
|
|
|
u32 D_8012DBC0 = false;
|
|
|
|
void func_800D31A0() {
|
|
osSyncPrintf(VT_FGCOL(RED) "\n**** Freeze!! ****\n" VT_RST);
|
|
while (true) {
|
|
Sleep_Msec(1000);
|
|
}
|
|
}
|
|
|
|
void func_800D31F0() {
|
|
D_8012DBC0 = (gPadMgr.validCtrlrsMask & 2) != 0;
|
|
}
|
|
|
|
void func_800D3210() {
|
|
D_8012DBC0 = false;
|
|
}
|