mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 23:05:36 -04:00
1114b13da8
* d_a_alldie / d_a_tboxSw / d_a_tag_gstart / d_a_tag_hstop * dolphin OS work / cleanup * dolphin GX work / cleanup * finish changing dolphin files to C * more files into C * match rest of MSL_C math functions * more dolphin files converted to C * remove asm * d_bg_w work * remove asm * d_a_alink work / kytag14
19 lines
316 B
C++
19 lines
316 B
C++
#include "Runtime.PPCEABI.H/CPlusLibPPC.h"
|
|
|
|
/* 80361C3C-80361C6C 35C57C 0030+00 0/0 0/0 4/4 .text __copy */
|
|
extern "C" void* __copy(char *dest, char *src, size_t size) {
|
|
char *p;
|
|
|
|
if (dest && size) {
|
|
p = dest;
|
|
do {
|
|
*p = *src;
|
|
++p;
|
|
++src;
|
|
--size;
|
|
} while (size);
|
|
}
|
|
|
|
return(dest);
|
|
}
|