summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'csgo-loader/csgo-client/Security/RuntimeSecurity.hpp')
-rw-r--r--csgo-loader/csgo-client/Security/RuntimeSecurity.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
index 9fe5c51..08e6490 100644
--- a/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
+++ b/csgo-loader/csgo-client/Security/RuntimeSecurity.hpp
@@ -20,7 +20,7 @@
// Required for the SDK from VMP which offers
// virtual machines and string encryption, as
// well as debug/VM checks.
-
+#include <VMProtectSDK.h>
// Required for MinHook.
#include <MinHook.h>
@@ -35,10 +35,14 @@
// Sick macros, retard.
#define WRAP_IF_RELEASE( s )
#define WRAP_IF_DEBUG( s ) { s; }
+
+ #define STR( s ) s
#else
// Sick macros, retard.
#define WRAP_IF_RELEASE( s ) { s; }
#define WRAP_IF_DEBUG( s )
+
+ #define STR( s ) VMProtectDecryptStringA( s )
#endif
namespace Security