mirror of
https://github.com/izzy2lost/Diddy-Kong-Racing.git
synced 2026-06-19 01:16:26 -07:00
Fix data type for __osCurrentTime to get __osTimerServicesInit to almost match
This commit is contained in:
@@ -6,22 +6,21 @@
|
||||
|
||||
/* Types */
|
||||
|
||||
typedef struct OSTimer_str
|
||||
{
|
||||
struct OSTimer_str *next;
|
||||
struct OSTimer_str *prev;
|
||||
u64 interval;
|
||||
u64 remaining;
|
||||
typedef u64 OSTime;
|
||||
|
||||
typedef struct OSTimer_s {
|
||||
struct OSTimer_s *next;
|
||||
struct OSTimer_s *prev;
|
||||
OSTime interval;
|
||||
OSTime remaining;
|
||||
OSMesgQueue *mq;
|
||||
OSMesg *msg;
|
||||
} OSTimer;
|
||||
|
||||
typedef u64 OSTime;
|
||||
|
||||
/* Functions */
|
||||
|
||||
OSTime osGetTime(void);
|
||||
void osSetTime(OSTime time);
|
||||
s32 osSetTimer(OSTimer *, OSTime, u64, OSMesgQueue *, OSMesg);
|
||||
s32 osSetTimer(OSTimer *t, OSTime value, OSTime interval, OSMesgQueue *mq, OSMesg msg);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user