summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-client/Client.cpp
diff options
context:
space:
mode:
authorboris <wzn@moneybot.cc>2019-01-02 17:46:05 +1300
committerboris <wzn@moneybot.cc>2019-01-02 17:46:05 +1300
commitd1ec3d3bb3a87a08e1c9348ca6e482549ebde664 (patch)
treeb1b4d86bdc9e9c83a02e2ad3258a61674421eb07 /csgo-loader/csgo-client/Client.cpp
parent16b4fd429ecaf259c4e2bd7307431f3c855812e8 (diff)
fixed bug and idk
i really dont wanna work on this anymore holy fuck
Diffstat (limited to 'csgo-loader/csgo-client/Client.cpp')
-rw-r--r--csgo-loader/csgo-client/Client.cpp6
1 files changed, 5 insertions, 1 deletions
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();
+
///////////////////////////////////////////////////////////////
}