# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines (old) |
> | Changed lines (new) |