summaryrefslogtreecommitdiff
path: root/arm9/lib/include/MI_memory.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2020-05-09 12:19:21 -0400
committerGitHub <noreply@github.com>2020-05-09 12:19:21 -0400
commit4a32bb288b5af3333a47e33d1ba9a83485ff1052 (patch)
treebb77ed81792d2e4dfe4370eb45ee0a53a3f02626 /arm9/lib/include/MI_memory.h
parentf76cec09f8a2995244256d4b097d9eed2bebd34a (diff)
parente660f7a7f749242dc73851d47e806b96783bc47d (diff)
Merge pull request #65 from PikalaxALT/libfs
Libfs
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_