mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fixed some debug prints.
This commit is contained in:
parent
ef8b20f513
commit
341bd875e7
@ -125,6 +125,7 @@ void Hooks::InstallHooks()
|
||||
|
||||
void Hooks::RemoveHooks()
|
||||
{
|
||||
spdlog::debug("Unhooking game functions..\n");
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Unhook Squirrel functions
|
||||
MH_RemoveHook(addr_SQVM_Print);
|
||||
|
@ -347,7 +347,7 @@ HRESULT __stdcall Present(IDXGISwapChain* pSwapChain, UINT nSyncInterval, UINT n
|
||||
|
||||
void InstallDXHooks()
|
||||
{
|
||||
spdlog::debug("Initializing IDXGISwapChainPresent hook..\n");
|
||||
spdlog::debug("Initializing DirectC hooks..\n");
|
||||
MH_CreateHook(g_fnIDXGISwapChainPresent, &Present, reinterpret_cast<void**>(&originalPresent));
|
||||
MH_CreateHook(g_fnIDXGIResizeBuffers, &GetResizeBuffers, reinterpret_cast<void**>(&originalResizeBuffers));
|
||||
|
||||
@ -357,7 +357,7 @@ void InstallDXHooks()
|
||||
|
||||
void RemoveDXHooks()
|
||||
{
|
||||
spdlog::debug("Initializing IDXGISwapChainPresent hook..\n");
|
||||
spdlog::debug("Removing DirectX hooks..\n");
|
||||
MH_RemoveHook(g_fnIDXGISwapChainPresent);
|
||||
MH_RemoveHook(g_fnIDXGIResizeBuffers);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user