ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan_Patch.h
(Generate patch)

Comparing Daodan/src/Daodan_Patch.h (file contents):
Revision 676 by rossy, Sat Jun 13 01:13:36 2009 UTC vs.
Revision 677 by alloc, Sat Mar 2 23:46:33 2013 UTC

# Line 2 | Line 2
2   #ifndef DAODAN_PATCH_H
3   #define DAODAN_PATCH_H
4  
5 < #include <stdbool.h>
5 > #include "bool.h"
6  
7   #define DDrPatch_Const(d, c) DDrPatch_String(d, c, sizeof(c))
8  
9 < #define OniExe ((void*)0x00400000)
9 > #define OniExe ((char*)0x00400000)
10  
11   bool DDrPatch_MakeJump(void* from, void* to);
12   bool DDrPatch_MakeCall(void* from, void* to);
# Line 14 | Line 14 | bool DDrPatch_String(char* dest, const c
14   bool DDrPatch_Byte(char* dest, char value);
15   bool DDrPatch_Int32(int* dest, int value);
16   bool DDrPatch_Int16(short* dest, short value);
17 < bool DDrPatch_StrDup(int* dest, const char* value);
17 > bool DDrPatch__strdup(int* dest, const char* value);
18   bool DDrPatch_NOOP(char* dest, unsigned int length);
19  
20   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)