summaryrefslogtreecommitdiff
path: root/arm9/lib/include/MI_memory.h
diff options
context:
space:
mode:
authorRevo <projectrevotpp@hotmail.com>2020-08-20 01:39:17 -0400
committerGitHub <noreply@github.com>2020-08-20 01:39:17 -0400
commit4ed13afd18de6f0b94d35e83023094efcfec73f5 (patch)
tree1347c2688a313c4a70f3a205ab1cc79c496ed2fa /arm9/lib/include/MI_memory.h
parent512d22cff9098f9c3636ca018355a851d011effc (diff)
parent3d2b7e5e5e3c43a8c5dc8c8ce255b0c53413048d (diff)
Merge pull request #265 from PikalaxALT/pikalax_work
save.c, pokemon_storage_system.c
Diffstat (limited to 'arm9/lib/include/MI_memory.h')
-rw-r--r--arm9/lib/include/MI_memory.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arm9/lib/include/MI_memory.h b/arm9/lib/include/MI_memory.h
index d79e9dcb..981fdc81 100644
--- a/arm9/lib/include/MI_memory.h
+++ b/arm9/lib/include/MI_memory.h
@@ -5,6 +5,10 @@
void MI_CpuFill8(void *dest, u8 data, u32 size);
void MI_CpuCopy8(void const *src, void *dest, u32 size);
+void MIi_CpuClearFast(u32 data, void *destp, u32 size);
+static inline void MI_CpuClearFast(void *destp, u32 size) {
+ MIi_CpuClearFast(0, destp, size);
+}
static inline void MI_CpuClear8(void *dest, u32 size) {
MI_CpuFill8(dest, 0, size);
}