Files
libsm64/src/decomp/include/PR/os_time.h
T
NepuShiro 9ff6947911
Build libsm64 / Build libsm64 for linux (push) Failing after 28s
Build libsm64 / Build libsm64 for web (push) Failing after 29s
Build libsm64 / Build libsm64 for windows (push) Failing after 23s
Reformat to something more readable for me :3
2026-05-24 11:31:35 -05:00

30 lines
456 B
C

#ifndef _ULTRA64_TIME_H_
#define _ULTRA64_TIME_H_
#include "ultratypes.h"
#include "os_message.h"
/* Types */
typedef struct OSTimer_str
{
struct OSTimer_str *next;
struct OSTimer_str *prev;
u64 interval;
u64 remaining;
OSMesgQueue *mq;
OSMesg *msg;
} OSTimer;
typedef u64 OSTime;
/* Functions */
OSTime osGetTime(void);
void osSetTime(OSTime time);
u32 osSetTimer(OSTimer *, OSTime, OSTime, OSMesgQueue *, OSMesg);
#endif