From 60958cc3c172df15cbb9d5a727d1860aa98a0634 Mon Sep 17 00:00:00 2001 From: nastys <7950891+nastys@users.noreply.github.com> Date: Sat, 3 Feb 2024 13:48:22 +0100 Subject: [PATCH] Cleanup --- source-code/source/plugins/Render/dllmain.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source-code/source/plugins/Render/dllmain.cpp b/source-code/source/plugins/Render/dllmain.cpp index 9175f90..df181d6 100644 --- a/source-code/source/plugins/Render/dllmain.cpp +++ b/source-code/source/plugins/Render/dllmain.cpp @@ -284,8 +284,8 @@ BOOL APIENTRY DllMain(HMODULE hModule, } DetourTransactionCommit(); - DetourTransactionBegin(); - DetourUpdateThread(GetCurrentThread()); + //DetourTransactionBegin(); + //DetourUpdateThread(GetCurrentThread()); //switch (game_version) //{ //case 600: @@ -294,7 +294,7 @@ BOOL APIENTRY DllMain(HMODULE hModule, //default: // DetourAttach(&(PVOID&)divaParseParameters_710, hookedParseParameters); //} - DetourTransactionCommit(); + //DetourTransactionCommit(); // set sleep time resolution to 2ms or device minimum (whichever's lower)