summaryrefslogtreecommitdiff
path: root/include/timer3.h
blob: be6e1da8f8837274da064c72981096c647c805f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef POKEDIAMOND_TIMER3_H
#define POKEDIAMOND_TIMER3_H


#include "global.h"

struct Timer3Data
{
    BOOL NeedReset;
    vu64 Timer3Counter;
};

THUMB_FUNC void Init_Timer3();
THUMB_FUNC void CountUpTimer3();
THUMB_FUNC u64 internal_GetTimer3Count();
THUMB_FUNC u64 GetTimer3Count();
THUMB_FUNC u64 Timer3CountToMilliSeconds(u64 count);
THUMB_FUNC u64 Timer3CountToSeconds(u64 count);


#endif //POKEDIAMOND_TIMER3_H