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

Comparing Daodan/src/patches/Patches.c (file contents):
Revision 877 by alloc, Sun Jun 2 11:25:34 2013 UTC vs.
Revision 878 by alloc, Sun Jun 2 11:58:39 2013 UTC

# Line 225 | Line 225 | void DD_Patch_DaodanDisplayEnum()
225          DDrPatch_MakeJump((void*)gl_enumerate_valid_display_modes, (void*)DD_GLrEnumerateDisplayModes);
226   }
227  
228 < // Adds new BSL functions if usedaodanbsl is enabled
228 > // Adds new BSL functions
229   void DD_Patch_DaodanInit()
230   {
231          DDrPatch_MakeCall((void*)(OniExe + 0x000d345a), (void*)DDrGame_Init);
# Line 248 | Line 248 | void DD_Patch_Flatline()
248   {
249          DDrPatch_NOOP((char*)(OniExe + 0x000E1957), 6 );
250          DDrPatch_MakeCall((void*)(OniExe + 0x000E17F6), FLrHook_Lasers );
251
251          
252          //Flatline related stuff
253          DDrPatch_MakeCall((void*)(OniExe + 0x000FBCEA), DDrText_Hook);
254          
255 <        DDrPatch_Int32((int*)(OniExe + 0x000B24D2), FLrSpawnHack);
255 >        DDrPatch_Int32((int*)(OniExe + 0x000B24D2), (unsigned int)FLrSpawnHack);
256  
257          DDrPatch_NOOP((char*)(OniExe + 0x000C26CB), 6);
258  

Diff Legend

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