mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
New dedicated server (r5apex_ds.exe) patches
Added 2 new patches: * Patch0: Unnecessary loop called from 'CModelLoader::UnloadModel'. This calls a 'nullsub' CMaterialGlue vtable method. * Patch1: CClientState constructor; Removed due to high mem allocation during init (100MiB+). 'CClientState' is useless on dedicated, and all its feature are thereof disabled.
This commit is contained in:
parent
ffa8647e69
commit
e640ecc391
5
r5dev/resource/patch/r5apex_ds.patch
Normal file
5
r5dev/resource/patch/r5apex_ds.patch
Normal file
@ -0,0 +1,5 @@
|
||||
//---- PATCH0
|
||||
0x2553C0: "mov qword ptr ss:[rsp+0x10], rsi" --> "xor rax, rax; ret"; // Unnecessary loop called from 'CModelLoader::UnloadModel'. This calls a 'nullsub' CMaterialGlue vtable method.
|
||||
|
||||
//---- PATCH1
|
||||
0x6DA10: "sub rsp, 28h" --> "xor rax, rax; ret"; // CClientState constructor; Removed due to high mem allocation during init (100MiB+). 'CClientState' is useless on dedicated, and all its feature are thereof disabled.
|
Loading…
x
Reference in New Issue
Block a user