summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-06-18 02:44:09 +0200
committerTreeki <treeki@gmail.com>2011-06-18 02:44:09 +0200
commita070ddd52b89cc3bb11aa2fd0a3a4818ca15ef43 (patch)
treecb74fe0287aafb7f228129719b50307ec7ef4a61
parent0d645b43782c07e705b5eef1a7693a5b919ba21f (diff)
downloadkamek-a070ddd52b89cc3bb11aa2fd0a3a4818ca15ef43.tar.gz
kamek-a070ddd52b89cc3bb11aa2fd0a3a4818ca15ef43.zip
added memcmp
-rwxr-xr-xinclude/common.h1
-rw-r--r--kamek_ntsc.x1
-rw-r--r--kamek_ntsc2.x1
-rw-r--r--kamek_pal.x1
-rw-r--r--kamek_pal2.x1
5 files changed, 5 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index b8bce80..6f3c84f 100755
--- a/include/common.h
+++ b/include/common.h
@@ -76,6 +76,7 @@ int sprintf(char *buffer, const char *format, ...);
int snprintf(char *buffer, int buff_size, const char *format, ...);
char *strcat(const char *destination, const char *source);
void *memset(void *ptr, int value, unsigned int num);
+int memcmp(const void *ptr1, const void *ptr2, unsigned int num);
void *AllocFromGameHeap1(u32 size);
void FreeFromGameHeap1(void *block);
diff --git a/kamek_ntsc.x b/kamek_ntsc.x
index b35a98e..e633c41 100644
--- a/kamek_ntsc.x
+++ b/kamek_ntsc.x
@@ -529,6 +529,7 @@ SECTIONS {
_Z6memsetPvij = 0x800046B4;
sprintf__FPcPCce = 0x802E17DC;
snprintf__FPciPCce = 0x802E16E8;
+ memcmp__FPCvPCvUi = 0x802DF098;
_Z6strcatPKcS0_ = 0x802E1A3C;
_Znaj = 0x802B9210;
diff --git a/kamek_ntsc2.x b/kamek_ntsc2.x
index 4fb1031..15bb3b1 100644
--- a/kamek_ntsc2.x
+++ b/kamek_ntsc2.x
@@ -529,6 +529,7 @@ SECTIONS {
_Z6memsetPvij = 0x800046B4;
sprintf__FPcPCce = 0x802E17DC;
snprintf__FPciPCce = 0x802E16E8;
+ memcmp__FPCvPCvUi = 0x802DF098;
_Z6strcatPKcS0_ = 0x802E1A3C;
_Znaj = 0x802B9210;
diff --git a/kamek_pal.x b/kamek_pal.x
index 6136a65..8d4b0da 100644
--- a/kamek_pal.x
+++ b/kamek_pal.x
@@ -529,6 +529,7 @@ SECTIONS {
_Z6memsetPvij = 0x800046B4;
sprintf__FPcPCce = 0x802E1ACC;
snprintf__FPciPCce = 0x802E19D8;
+ memcmp__FPCvPCvUi = 0x802DF388;
_Z6strcatPKcS0_ = 0x802E1D2C;
_Znaj = 0x802B9350;
diff --git a/kamek_pal2.x b/kamek_pal2.x
index f0f5eb8..326ff25 100644
--- a/kamek_pal2.x
+++ b/kamek_pal2.x
@@ -529,6 +529,7 @@ SECTIONS {
_Z6memsetPvij = 0xDEADBEEF;
sprintf__FPcPCce = 0xDEADBEEF;
snprintf__FPciPCce = 0xDEADBEEF;
+ memcmp__FPCvPCvUi = 0xDEADBEEF;
_Z6strcatPKcS0_ = 0xDEADBEEF;
_Znaj = 0xDEADBEEF;