--- Daodan/src/Daodan_Patch.h 2013/03/02 23:46:33 677 +++ Daodan/src/Daodan_Patch.h 2013/03/04 15:52:19 689 @@ -10,10 +10,10 @@ bool DDrPatch_MakeJump(void* from, void* to); bool DDrPatch_MakeCall(void* from, void* to); -bool DDrPatch_String(char* dest, const char* string, int length); -bool DDrPatch_Byte(char* dest, char value); -bool DDrPatch_Int32(int* dest, int value); -bool DDrPatch_Int16(short* dest, short value); +bool DDrPatch_String(char* dest, const unsigned char* string, int length); +bool DDrPatch_Byte(char* dest, unsigned char value); +bool DDrPatch_Int32(int* dest, unsigned int value); +bool DDrPatch_Int16(short* dest, unsigned short value); bool DDrPatch__strdup(int* dest, const char* value); bool DDrPatch_NOOP(char* dest, unsigned int length);