1
0
mirror of https://github.com/blawar/ooot.git synced 2024-06-25 22:09:34 +00:00
ooot/include/def/timerintr.h
2022-01-31 19:05:17 -05:00

20 lines
508 B
C

#pragma once
extern u32 __osBaseCounter;
extern OSTime __osCurrentTime;
extern u32 __osTimerCounter;
extern OSTimer* __osTimerList;
extern u32 __osViIntrCount;
#ifdef INTERNAL_SRC_LIBULTRA_OS_TIMERINTR_C
OSTime __osInsertTimer(OSTimer* timer);
void __osSetTimerIntr(OSTime time);
void __osTimerInterrupt(void);
void __osTimerServicesInit(void);
#else
OSTime __osInsertTimer(struct OSTimer* timer);
void __osSetTimerIntr(OSTime time);
void __osTimerInterrupt(void);
void __osTimerServicesInit(void);
#endif