/* The comment below is needed for this file to be picked up by generate_ld */
/* RAM_POS: 0x800D3670 */

#include "libultra_internal.h"

s32 __osAiDeviceBusy(void) {
    register s32 status = IO_READ(AI_STATUS_REG);
    if (status & AI_STATUS_FIFO_FULL)
        return TRUE;

    return FALSE;
}
