mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Increase oriented bone to world memory
Increase to 2MiB, so all 120 players could be rendered on the client without overflowing the bone memory (which causes an error in 'CModelRenderSystem::DrawModels').
This commit is contained in:
parent
f0bef4a537
commit
e4a05b4a93
@ -39,6 +39,11 @@
|
||||
0x38257E: "movsxd r8, dword ptr ds:[0x00000001666EC950]" // s_MapHeader.lumps[LUMP_PAKFILE].fileofs
|
||||
0x382585: "movsxd rdx, dword ptr ds:[0x00000001666EC954]" // s_MapHeader.lumps[LUMP_PAKFILE].filelen
|
||||
|
||||
// This patch increases the 'CModelRenderSystem::m_BoneToWorldOriented' memory buffer size to 2MiB. Previously,
|
||||
// this was 1MiB, but would occasionally overflow when there are about 80 players rendering on the client's
|
||||
// screen. This satisfies the required memory size to render all 120 player models (active players on server).
|
||||
0xE6530: "mov r8d, 200000h"
|
||||
|
||||
/////////////////////////////
|
||||
/////////////////////////////
|
||||
//// Code defects ////
|
||||
|
Loading…
x
Reference in New Issue
Block a user