mirror of
https://github.com/zeldaret/oot.git
synced 2025-01-15 12:47:04 +00:00
10 lines
195 B
C
10 lines
195 B
C
#include <global.h>
|
|
#include <ultra64/hardware.h>
|
|
|
|
s32 __osSiRawReadIo(void* a0, u32* a1) {
|
|
if (__osSiDeviceBusy()) {
|
|
return -1;
|
|
}
|
|
*a1 = HW_REG((u32)a0, u32);
|
|
return 0;
|
|
}
|