mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-13 12:59:59 +00:00
11 lines
222 B
C
11 lines
222 B
C
#include <global.h>
|
|
|
|
s32 osEPiReadIo(OSPiHandle* handle, u32 devAddr, u32* data) {
|
|
register s32 ret;
|
|
|
|
__osPiGetAccess();
|
|
ret = __osEPiRawReadIo(handle, devAddr, data);
|
|
__osPiRelAccess();
|
|
|
|
return ret;
|
|
}
|