summaryrefslogtreecommitdiff
path: root/arm9/lib/include
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2021-05-24 11:08:11 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2021-05-24 11:08:11 -0400
commitcde6e91b693c77f93546b8fc23dde1c53dcb0a4f (patch)
treec02299cf6a87e5d085ac3bf37d23fef05435e8ba /arm9/lib/include
parentfebbf5dc3d673ae40df7b6c545a40e945e6eda17 (diff)
Don't use MI internals in GF code
Diffstat (limited to 'arm9/lib/include')
-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
index 339ff9b8..4e5722bb 100644
--- a/arm9/lib/include/MI_memory.h
+++ b/arm9/lib/include/MI_memory.h
@@ -25,6 +25,11 @@ static inline void MI_CpuClear8(void *dest, u32 size) {
MI_CpuFill8(dest, 0, size);
}
+static inline void MI_CpuFill16(void *dest, u16 data, u32 size)
+{
+ MIi_CpuClear16(data, dest, size);
+}
+
static inline void MI_CpuClear16(void * destp, u32 size)
{
MIi_CpuClear16(0, destp, size);
@@ -55,4 +60,9 @@ static inline void MI_CpuFillFast(void *dest, u32 data, u32 size)
MIi_CpuClearFast(data, dest, size);
}
+static inline void MI_CpuCopyFast(const void *src, void *dest, u32 size)
+{
+ MIi_CpuCopyFast(src, dest, size);
+}
+
#endif //POKEDIAMOND_ARM9_MI_MEMORY_H