205 |
|
} |
206 |
|
|
207 |
|
// Disable loading the vtuneapi.dll |
208 |
< |
if (patch_killvtune) |
209 |
< |
DDrPatch_Byte (OniExe + 0x00026340, 0xC3); |
208 |
> |
//if (patch_killvtune) |
209 |
> |
//DDrPatch_Byte (OniExe + 0x00026340, 0xC3); |
210 |
|
|
211 |
|
// Disable Oni's internal CLrGetCommandLine function (to eventually replace it with our own) |
212 |
|
if (patch_getcmdline) |
234 |
|
}; |
235 |
|
DDrPatch_Const(0x0051BB64, regen_patch); |
236 |
|
} |
237 |
+ |
//Flatline related stuff |
238 |
|
DDrPatch_MakeCall(0x004FBCEA, DDrText_Hook); |
239 |
+ |
|
240 |
|
DDrPatch_Int32( 0x004B24D2, FLrSpawnHack); |
241 |
+ |
|
242 |
|
DDrPatch_NOOP(0x004C26CB, 6); |
243 |
|
DDrPatch_MakeCall( 0x004C26CB, FLrHook_DoorOpen); |
244 |
< |
|
244 |
> |
DDrPatch_MakeCall( 0x004EE3CF, FLrHook_ConsoleActivate); |
245 |
|
return true; |
246 |
|
} |
247 |
|
|