diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-08-15 13:40:27 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-08-15 13:40:27 -0400 |
commit | 192fc04d3ce0074c29ae8add8b22fa0f8213dd17 (patch) | |
tree | 3dacf86c3f9fdbd7a8e03a1f1eb17d135bb21ee0 /arm9/lib/include/MI_memory.h | |
parent | 154b07917927bd37d7780e1a8bc8f307dad8d70c (diff) |
Decompile bag.s
Diffstat (limited to 'arm9/lib/include/MI_memory.h')
-rw-r--r-- | arm9/lib/include/MI_memory.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arm9/lib/include/MI_memory.h b/arm9/lib/include/MI_memory.h index c39c7895..d79e9dcb 100644 --- a/arm9/lib/include/MI_memory.h +++ b/arm9/lib/include/MI_memory.h @@ -12,6 +12,13 @@ void MIi_CpuCopy16(const void *src, void *dst, u32 size); void MIi_CpuClear32(u32 data, void *destp, u32 size); +void MIi_CpuClear16(u16 data, void *destp, u32 size); + +static inline void MI_CpuClear16(void * destp, u32 size) +{ + MIi_CpuClear16(0, destp, size); +} + static inline void MI_CpuFill32(void *dest, u32 data, u32 size) { MIi_CpuClear32(data, dest, size); |