diff options
author | Akira Akashi <rubenru09@aol.com> | 2021-03-21 15:52:06 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-21 15:52:06 +0000 |
commit | cd9eb8c0276e74498b2ad0db2367bd6f76549f19 (patch) | |
tree | f0f81eeb1e8ad3d2a0400b72a0215c29829c2e12 /include | |
parent | 1cd32c047cbcdb8169e1d013922c846c374d500a (diff) | |
parent | 00ecc6db377847f7199cb3f1c443497ef3581bfe (diff) |
Merge branch 'master' into asmproc-multiple
Diffstat (limited to 'include')
-rw-r--r-- | include/timer3.h | 21 | ||||
-rw-r--r-- | include/unk_02015E30.h | 1 |
2 files changed, 22 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 diff --git a/include/unk_02015E30.h b/include/unk_02015E30.h index 32a46d39..6a4d6c15 100644 --- a/include/unk_02015E30.h +++ b/include/unk_02015E30.h @@ -3,6 +3,7 @@ #include "global.h" #include "igt.h" +#include "timer3.h" struct UnkStruct_02015E30 { |