From e84f5ab3878b30bdddd2ee5a0dbddc10e00d219d Mon Sep 17 00:00:00 2001 From: EllipticEllipsis Date: Sun, 1 May 2022 23:06:35 +0100 Subject: Memstuff (#1164) * Un-fake a couple of matches in memory manip functions * Document fmodf * Un-fake a couple of matches in memory manip functions * Document fmodf * Rename functions and files * Document memmove, memsets, memcpys * Format * Sort out some missing sizeofs * Name fmodf * Rename local variables * size_t * Use COBRA_SHADOW_TEX_SIZE * Review * Tweak the Doxyfile to remove @brief requirement * Roman's review * Fix a bug comment * Change fmodf --- src/code/code_801068B0.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/code/code_801068B0.c (limited to 'src/code/code_801068B0.c') diff --git a/src/code/code_801068B0.c b/src/code/code_801068B0.c deleted file mode 100644 index d673cc5e0..000000000 --- a/src/code/code_801068B0.c +++ /dev/null @@ -1,24 +0,0 @@ -#include "global.h" - -// memmove used in __osMalloc.c -void* func_801068B0(void* dst, void* src, size_t size) { - u8* spC = dst; - u8* sp8 = src; - register s32 a3; - - if (spC == sp8) { - return dst; - } - if (spC < sp8) { - for (a3 = size--; a3 != 0; a3 = size--) { - *spC++ = *sp8++; - } - } else { - spC += size - 1; - sp8 += size - 1; - for (a3 = size--; a3 != 0; a3 = size--) { - *spC-- = *sp8--; - } - } - return dst; -} -- cgit v1.2.3