mirror of
https://github.com/n64decomp/sm64
synced 2026-05-13 09:38:29 +00:00
11 lines
204 B
C
11 lines
204 B
C
#include "libultra_internal.h"
|
|
#include "hardware.h"
|
|
|
|
s32 __osSiRawWriteIo(void *a0, u32 a1) {
|
|
if (__osSiDeviceBusy()) {
|
|
return -1;
|
|
}
|
|
HW_REG((uintptr_t) a0, u32) = a1;
|
|
return 0;
|
|
}
|