diff options
author | Akira Akashi <rubenru09@aol.com> | 2021-06-02 22:13:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-02 22:13:57 +0100 |
commit | 9d3d4a2acff67f43896e9e0dcd26e7aaeb55e3b3 (patch) | |
tree | d707aa8fead427dadbbb29b886875e6c8961bd5a /arm9/lib/include/MI_memory.h | |
parent | a2a17a9426f16ee601ff17840b8bb7851fef7138 (diff) | |
parent | 7e32d3758e7e36d7a67a1442cdb9386f9aa18a6e (diff) |
Merge branch 'master' into 0202A1E0
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 |