summaryrefslogtreecommitdiff
path: root/include/consts.h
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-09-15 18:26:38 +0100
committerGitHub <noreply@github.com>2020-09-15 18:26:38 +0100
commit27f9506eda2852ac4a9e99f1a00222c86afe317d (patch)
tree02b50e14ca025b2fc1a8253e39545066904f2138 /include/consts.h
parent8966018f1784d46e9f3099e37f13478b3a884338 (diff)
parent09e136ea2aa53ab73f3a31be542aeba18e33320c (diff)
Merge pull request #44 from mparisi20/decompOSAlloc
Decompile OSAlloc.o
Diffstat (limited to 'include/consts.h')
-rw-r--r--include/consts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/consts.h b/include/consts.h
new file mode 100644
index 0000000..ed1ac6c
--- /dev/null
+++ b/include/consts.h
@@ -0,0 +1,6 @@
+#ifndef POKEREVO_CONSTS_H
+#define POKEREVO_CONSTS_H
+
+#define OSi_ROUND(n, a) (((u32) (n) + (a) - 1) & ~((a) - 1))
+
+#endif //POKEREVO_CONSTS_H