diff options
author | Akira Akashi <rubenru09@aol.com> | 2021-05-26 03:30:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 03:30:25 +0100 |
commit | 395de03637046068e1b4ad79f1c8b230b8f2b0c8 (patch) | |
tree | c73803288addbc3256be6ca71a965670833c55fe /arm9/lib/include/MI_memory.h | |
parent | 73e48106d014792276f46e185b1a7ccd30bf4f00 (diff) | |
parent | 7d10ba28169226bf00b741f7d01bc3386b383343 (diff) |
Merge branch 'master' into unk_0208A300
Diffstat (limited to 'arm9/lib/include/MI_memory.h')
-rw-r--r-- | arm9/lib/include/MI_memory.h | 10 |
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 |