summaryrefslogtreecommitdiff
path: root/libs/SSystem/SComponent/c_lib.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2023-12-25 07:31:05 -0800
committerGitHub <noreply@github.com>2023-12-25 17:31:05 +0200
commita7edd19f16685e9a1e505eec642318250553e399 (patch)
tree9fcef630adac7a4f7218c372e68320d68970ef83 /libs/SSystem/SComponent/c_lib.cpp
parentb9ffe811fd93c946bf7f099cd67163df94db5784 (diff)
MSL_C fully matched / some SSystem cleanup/ obj_rgate OK (#2011)
* cleanup SSystem files * MSL_C fully matched * fix build * remove asm * reorganize MSL_C/Runtime libs into more accurate setup * little more cleanup * cleanup some MSL headers * obj_rgate OK * remove asm * some rgate documentation
Diffstat (limited to 'libs/SSystem/SComponent/c_lib.cpp')
-rw-r--r--libs/SSystem/SComponent/c_lib.cpp19
1 files changed, 7 insertions, 12 deletions
diff --git a/libs/SSystem/SComponent/c_lib.cpp b/libs/SSystem/SComponent/c_lib.cpp
index 2912206d6f..e69029989c 100644
--- a/libs/SSystem/SComponent/c_lib.cpp
+++ b/libs/SSystem/SComponent/c_lib.cpp
@@ -1,17 +1,12 @@
-//
-// Generated By: dol2asm
-// Translation Unit: c_lib
-//
+/**
+ * c_lib.cpp
+ *
+ */
#include "SSystem/SComponent/c_lib.h"
-#include "MSL_C/string.h"
+#include "string.h"
#include "SSystem/SComponent/c_math.h"
#include "dolphin/mtx/mtxvec.h"
-#include "dolphin/types.h"
-
-//
-// Declarations:
-//
/* 8026F93C-8026F95C 26A27C 0020+00 0/0 3/3 0/0 .text cLib_memCpy__FPvPCvUl */
void cLib_memCpy(void* dst, const void* src, unsigned long size) {
@@ -19,8 +14,8 @@ void cLib_memCpy(void* dst, const void* src, unsigned long size) {
}
/* 8026F95C-8026F97C 26A29C 0020+00 0/0 4/4 0/0 .text cLib_memSet__FPviUl */
-void cLib_memSet(void* ptr, int value, unsigned long size) {
- memset(ptr, value, size);
+void cLib_memSet(void* dst, int value, unsigned long size) {
+ memset(dst, value, size);
}
/* 8026F97C-8026FA3C 26A2BC 00C0+00 0/0 50/50 178/178 .text cLib_addCalc__FPfffff */