mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-08-13 17:03:47 -04:00
10 lines
176 B
C
10 lines
176 B
C
|
#include "global.h"
|
||
|
|
||
|
s32 __osSiRawWriteIo(void* devAddr, u32 val) {
|
||
|
if (__osSiDeviceBusy()) {
|
||
|
return -1;
|
||
|
}
|
||
|
HW_REG((u32)devAddr, u32) = val;
|
||
|
return 0;
|
||
|
}
|