From 537c00722cfc80b4fe2dd8d4e1917fec3c494b97 Mon Sep 17 00:00:00 2001 From: nastys <@> Date: Sat, 14 Mar 2020 03:23:26 +0100 Subject: [PATCH] Fix Render on 7.10 (still not working on 6.00 --- source-code/source/plugins/Render/dllmain.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source-code/source/plugins/Render/dllmain.cpp b/source-code/source/plugins/Render/dllmain.cpp index f1056ba..65dfa63 100644 --- a/source-code/source/plugins/Render/dllmain.cpp +++ b/source-code/source/plugins/Render/dllmain.cpp @@ -288,9 +288,9 @@ BOOL APIENTRY DllMain(HMODULE hModule, switch (game_version) { case 600: - DetourAttach(&(PVOID&)divaParseParameters_600, hookedCreateWindow); + DetourAttach(&(PVOID&)divaParseParameters_600, hookedParseParameters); default: - DetourAttach(&(PVOID&)divaParseParameters_710, hookedCreateWindow); + DetourAttach(&(PVOID&)divaParseParameters_710, hookedParseParameters); } DetourTransactionCommit(); @@ -310,9 +310,9 @@ BOOL APIENTRY DllMain(HMODULE hModule, switch (game_version) { case 600: - DetourAttach(&(PVOID&)divaEngineUpdate_600, hookedCreateWindow); + DetourAttach(&(PVOID&)divaEngineUpdate_600, hookedEngineUpdate); default: - DetourAttach(&(PVOID&)divaEngineUpdate_710, hookedCreateWindow); + DetourAttach(&(PVOID&)divaEngineUpdate_710, hookedEngineUpdate); } DetourTransactionCommit();