WiiFlow_Lite/resources/app_booter/source/string.c
fix94.1 7e0fa2417c I'm surprised about no activity at all the last week, so I'll do
at least something here to show we're not dead how some people asked :P
-sync with 4.0.3
-changed version number to Beta 4.0.4
-fixed bug that force_cios_load broke the wiimote pointer in wiiflow
2012-11-01 07:04:52 +00:00

26 lines
540 B
C

// Copyright 2008-2009 Segher Boessenkool <segher@kernel.crashing.org>
// This code is licensed to you under the terms of the GNU GPL, version 2;
// see file COPYING or http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
#include <stdio.h>
void *memset(void *b, int c, size_t len)
{
size_t i;
for (i = 0; i < len; i++)
((unsigned char *)b)[i] = c;
return b;
}
void *memcpy(void *dst, const void *src, size_t len)
{
size_t i;
for (i = 0; i < len; i++)
((unsigned char *)dst)[i] = ((unsigned char *)src)[i];
return dst;
}