diff options
author | Cleverking2003 <30466983+Cleverking2003@users.noreply.github.com> | 2020-08-16 21:35:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-16 21:35:27 +0300 |
commit | 133a7967098a49cebc68c395df88d87485328175 (patch) | |
tree | b60434a70296a13034d6c92440fff837b4b5bed5 /arm9/lib/include | |
parent | a82d0d55a67b12757b185fd149d6a14dcc7cad02 (diff) | |
parent | f249e22e6cfd180492054f8ef321fa75495f2daf (diff) |
Merge pull request #262 from PikalaxALT/pikalax_work
Decompile bag.s
Diffstat (limited to 'arm9/lib/include')
-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); |