summaryrefslogtreecommitdiff
path: root/include/timer3.h
diff options
context:
space:
mode:
authorAkira Akashi <rubenru09@aol.com>2021-03-21 15:52:06 +0000
committerGitHub <noreply@github.com>2021-03-21 15:52:06 +0000
commitcd9eb8c0276e74498b2ad0db2367bd6f76549f19 (patch)
treef0f81eeb1e8ad3d2a0400b72a0215c29829c2e12 /include/timer3.h
parent1cd32c047cbcdb8169e1d013922c846c374d500a (diff)
parent00ecc6db377847f7199cb3f1c443497ef3581bfe (diff)
Merge branch 'master' into asmproc-multiple
Diffstat (limited to 'include/timer3.h')
-rw-r--r--include/timer3.h21
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