blob: 261fcbabaef0b6c3c5945eb207e1674079d27e1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#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;
}
}
|