diff options
author | red031000 <rubenru09@aol.com> | 2021-03-21 21:29:54 +0000 |
---|---|---|
committer | red031000 <rubenru09@aol.com> | 2021-03-21 21:29:54 +0000 |
commit | a48d4ca5662481736ae0228f2633928c338c9e8f (patch) | |
tree | a2a12e99bdb459c1d0916a2424d7b93207bb3440 /include/timer3.h | |
parent | 0ed2967bdbf4667afdbbfafac6aee19d9244d50a (diff) | |
parent | 98aafed459ae6869e00462f265effa77bb76d8a4 (diff) |
Merge branch 'master' of https://github.com/pret/pokediamond
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 |