--- Daodan/src/Daodan_Patch.h 2009/06/13 01:13:36 351 +++ Daodan/src/Daodan_Patch.h 2013/03/02 23:46:33 677 @@ -2,11 +2,11 @@ #ifndef DAODAN_PATCH_H #define DAODAN_PATCH_H -#include +#include "bool.h" #define DDrPatch_Const(d, c) DDrPatch_String(d, c, sizeof(c)) -#define OniExe ((void*)0x00400000) +#define OniExe ((char*)0x00400000) bool DDrPatch_MakeJump(void* from, void* to); bool DDrPatch_MakeCall(void* from, void* to); @@ -14,7 +14,7 @@ bool DDrPatch_String(char* dest, const c bool DDrPatch_Byte(char* dest, char value); bool DDrPatch_Int32(int* dest, int value); bool DDrPatch_Int16(short* dest, short value); -bool DDrPatch_StrDup(int* dest, const char* value); +bool DDrPatch__strdup(int* dest, const char* value); bool DDrPatch_NOOP(char* dest, unsigned int length); #endif