Files
SpaghettiKart/include/PR/os_time.h
MegaMech 7cc9894aa1 Fix compile (#199)
* Fixes made so far

* Fixes up until linking

* Moved GetInterpreter() to a single function under the Engine.h

* Updated shader files included with assets, added exception for Linux for including SDL2_net

* Removed osSetTime stub(for now)

* Adjustments to get it to compile + run

* Decoupled GetInterpreter() from the GameEngine Class, corrected a invalid include in SpaghettiGui.cpp

---------

Co-authored-by: sitton76 <58642183+sitton76@users.noreply.github.com>
2025-05-15 15:25:18 -06:00

26 lines
426 B
C

#ifndef _ULTRA64_TIME_H_
#define _ULTRA64_TIME_H_
#include <PR/ultratypes.h>
#include <PR/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);
u32 osSetTimer(OSTimer*, OSTime, u64, OSMesgQueue*, OSMesg);
#endif