summaryrefslogtreecommitdiff
path: root/arm9/lib/include/MI_memory.h
diff options
context:
space:
mode:
authorMade <made111@gmx.de>2020-05-09 19:44:50 +0200
committerMade <made111@gmx.de>2020-05-09 19:44:50 +0200
commiteff30d81b4785428ca4e86383f665f9f03c76b9f (patch)
treea168324f6cb3f88716e1a630b58ac93e8a0b42c9 /arm9/lib/include/MI_memory.h
parent4abf7d45568d93040fdb86993e915ffdfc4c4a9e (diff)
parente1c517d34810fe83865e896a23e46a2ea089261f (diff)
Merge branch 'master' of https://github.com/martmists/pokediamond
Diffstat (limited to 'arm9/lib/include/MI_memory.h')
-rw-r--r--arm9/lib/include/MI_memory.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arm9/lib/include/MI_memory.h b/arm9/lib/include/MI_memory.h
new file mode 100644
index 00000000..d9935a5f
--- /dev/null
+++ b/arm9/lib/include/MI_memory.h
@@ -0,0 +1,10 @@
+#ifndef NITRO_MI_MEMORY_H_
+#define NITRO_MI_MEMORY_H_
+
+void MI_CpuFill8(void *dest, u8 data, u32 size);
+void MI_CpuCopy8(void const *src, void *dest, u32 size);
+static inline void MI_CpuClear8(void *dest, u32 size) {
+ MI_CpuFill8(dest, 0, size);
+}
+
+#endif //NITRO_MI_MEMORY_H_