r5sdk/r5dev/tier0/tslist.cpp
Kawe Mazidjatari ddfdb4ffd8 See description
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.
2022-05-17 23:00:30 +02:00

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);
}