You've already forked 2ship2harkinian-Android
mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-03-10 11:20:47 -07:00
Co-authored-by: Louis <35883445+louist103@users.noreply.github.com> Co-authored-by: Nicholas Estelami <NEstelami@users.noreply.github.com> Co-authored-by: Random06457 <28494085+Random06457@users.noreply.github.com>
27 lines
597 B
C
27 lines
597 B
C
#ifndef PR_OS_TIME_H
|
|
#define PR_OS_TIME_H
|
|
|
|
#include "ultratypes.h"
|
|
#include "os_message.h"
|
|
|
|
#include <libultraship/libultra/time.h>
|
|
|
|
#if 0
|
|
typedef u64 OSTime;
|
|
|
|
typedef struct OSTimer_s {
|
|
/* 0x00 */ struct OSTimer_s* next;
|
|
/* 0x04 */ struct OSTimer_s* prev;
|
|
/* 0x08 */ OSTime interval;
|
|
/* 0x10 */ OSTime value;
|
|
/* 0x18 */ OSMesgQueue* mq;
|
|
/* 0x1C */ OSMesg msg;
|
|
} OSTimer; // size = 0x20
|
|
|
|
OSTime osGetTime(void);
|
|
void osSetTime(OSTime ticks);
|
|
s32 osSetTimer(OSTimer* t, OSTime value, OSTime interval, OSMesgQueue* mq, OSMesg msg);
|
|
s32 osStopTimer(OSTimer* t);
|
|
|
|
#endif
|
|
#endif |