mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Add '-nodiscord' and '-nobakedparticles' to launch params for dedicated. Add hook for 'MemAlloc_Internal()'. Rename loggers to be more consistent with naming. Revert omitting frame pointers.
17 lines
334 B
C++
17 lines
334 B
C++
#include "core/stdafx.h"
|
|
#include "tier0/tslist.h"
|
|
|
|
void* MemAlloc_Internal(void* pPool, int64_t nSize)
|
|
{
|
|
return v_MemAlloc_Internal(pPool, nSize);
|
|
}
|
|
|
|
void TSList_Attach()
|
|
{
|
|
DetourAttach((LPVOID*)&v_MemAlloc_Internal, &MemAlloc_Internal);
|
|
}
|
|
|
|
void TSList_Detach()
|
|
{
|
|
DetourDetach((LPVOID*)&v_MemAlloc_Internal, &MemAlloc_Internal);
|
|
} |