diff options
author | who-knows-who <j.williams97@outlook.com> | 2021-04-17 12:48:19 +0100 |
---|---|---|
committer | who-knows-who <j.williams97@outlook.com> | 2021-04-17 12:48:19 +0100 |
commit | 996d9d78106cf4ab601815550ba77a92ab678328 (patch) | |
tree | 9a92b4f792a11466cdee719b18ed449dee2e27fc /include/timer3.h | |
parent | 267cb812e827604d4829d3afe28a82b0970d3706 (diff) | |
parent | 85a8a2bd43633e11af094d66a35f3c32dc7c8bfe (diff) |
Merge branch 'master' into 0202A1E0
Diffstat (limited to 'include/timer3.h')
-rw-r--r-- | include/timer3.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/timer3.h b/include/timer3.h new file mode 100644 index 00000000..be6e1da8 --- /dev/null +++ b/include/timer3.h @@ -0,0 +1,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 |