11 lines
227 B
C
11 lines
227 B
C
![]() |
#include "libultra_internal.h"
|
||
|
#include "hardware.h"
|
||
|
|
||
|
s32 __osAiDeviceBusy(void) {
|
||
|
register s32 status = HW_REG(AI_STATUS_REG, u32);
|
||
|
if ((status & AI_STATUS_AI_FULL) != 0)
|
||
|
return 1;
|
||
|
else
|
||
|
return 0;
|
||
|
}
|