summaryrefslogtreecommitdiff
path: root/src/code/code_801068B0.c
diff options
context:
space:
mode:
authorEllipticEllipsis <elliptic.ellipsis@gmail.com>2022-05-01 23:06:35 +0100
committerGitHub <noreply@github.com>2022-05-02 00:06:35 +0200
commite84f5ab3878b30bdddd2ee5a0dbddc10e00d219d (patch)
tree67e1ac6584b3612b2b5e4066388ef2bc811efc1f /src/code/code_801068B0.c
parent7334ffa373d7aeef31977c2fe39af711d7069809 (diff)
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
Diffstat (limited to 'src/code/code_801068B0.c')
-rw-r--r--src/code/code_801068B0.c24
1 files changed, 0 insertions, 24 deletions
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;
-}