From a070ddd52b89cc3bb11aa2fd0a3a4818ca15ef43 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sat, 18 Jun 2011 02:44:09 +0200 Subject: added memcmp --- include/common.h | 1 + kamek_ntsc.x | 1 + kamek_ntsc2.x | 1 + kamek_pal.x | 1 + kamek_pal2.x | 1 + 5 files changed, 5 insertions(+) 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; -- cgit v1.2.3