summaryrefslogtreecommitdiff
path: root/include/timer3.h
diff options
context:
space:
mode:
authorRémi Calixte <remicalixte.rmc@gmail.com>2021-03-20 11:42:10 +0100
committerRémi Calixte <remicalixte.rmc@gmail.com>2021-03-20 11:45:35 +0100
commitbef877266c6af17c90581f56f5d4217fd4ecce23 (patch)
tree4efe531014c06c0d1565dae1188dd92ea533c1f5 /include/timer3.h
parent1a326c6b75b7e97bad781a1472bdbb29d90766b6 (diff)
better names
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