From d1ec3d3bb3a87a08e1c9348ca6e482549ebde664 Mon Sep 17 00:00:00 2001 From: boris Date: Wed, 2 Jan 2019 17:46:05 +1300 Subject: fixed bug and idk i really dont wanna work on this anymore holy fuck --- csgo-loader/csgo-client/Client.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'csgo-loader/csgo-client/Client.cpp') diff --git a/csgo-loader/csgo-client/Client.cpp b/csgo-loader/csgo-client/Client.cpp index 10e8012..52a288d 100644 --- a/csgo-loader/csgo-client/Client.cpp +++ b/csgo-loader/csgo-client/Client.cpp @@ -32,10 +32,12 @@ int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow) { - WRAP_IF_DEBUG(Utils::OpenConsole()); + (Utils::OpenConsole()); /////////////////////////////////////////////////////////////// + VMProtectBeginUltra("EntryPoint"); + /////////////////////////////////////////////////////////////// // Create a thread to handle UI. @@ -79,6 +81,8 @@ int __stdcall WinMain(HINSTANCE inst, HINSTANCE prev, char* str, int cmdshow) /////////////////////////////////////////////////////////////// + VMProtectEnd(); + /////////////////////////////////////////////////////////////// } -- cgit v1.2.3