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 987 by alloc, Wed Mar 19 12:44:30 2014 UTC vs.
Revision 990 by alloc, Wed Apr 2 00:48:54 2014 UTC

# Line 349 | Line 349 | void DD_Patch_DirectInput()
349   // Disable Oni's command line parser so it doesn't interfere with ours
350   void DD_Patch_DisableCmdLine()
351   {
352 <        DDrPatch_Int32 ((int*)(OniExe + 0x000d3570), 0xc3c03366);
352 >        // Replace start of OniParseCommandLine with XOR ax,ax; RET
353 > //      DDrPatch_Int32 ((int*)(OniExe + 0x000d3570), 0xc3c03366);
354 >        // Replace start of OniParseCommandLine with XOR eax,eax; RET
355 >        DDrPatch_Int32 ((int*)(OniExe + 0x000d3570), 0x00c3c033);
356   }
357  
358   // Enable flatline multiplayer code

Diff Legend

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