summaryrefslogtreecommitdiff
path: root/include/ultra64/time.h
blob: 5c6650b7d2399886b8eee884f1046e2bc4ba338d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef ULTRA64_TIME_H
#define ULTRA64_TIME_H

#include "message.h"

typedef u64 OSTime;

typedef struct OSTimer {
    /* 0x00 */ struct OSTimer* next;
    /* 0x04 */ struct OSTimer* prev;
    /* 0x08 */ OSTime interval;
    /* 0x10 */ OSTime value;
    /* 0x18 */ OSMesgQueue* mq;
    /* 0x1C */ OSMesg msg;
} OSTimer; // size = 0x20

#endif