diff --git a/cstrike/common.h b/cstrike/common.h index 93f754b..9e36fa8 100644 --- a/cstrike/common.h +++ b/cstrike/common.h @@ -12,7 +12,7 @@ * - used to verify game version */ -#define CS_PRODUCTSTRINGVERSION CS_XOR("1.40.0.5") +#define CS_PRODUCTSTRINGVERSION CS_XOR("1.40.0.6") /* * game's modules diff --git a/cstrike/core/interfaces.cpp b/cstrike/core/interfaces.cpp index c292f47..881962c 100644 --- a/cstrike/core/interfaces.cpp +++ b/cstrike/core/interfaces.cpp @@ -151,7 +151,7 @@ bool I::Setup() #pragma endregion // @ida: #STR: "r_gpu_mem_stats", "-threads", "CTSListBase: Misaligned list\n", "CTSQueue: Misaligned queue\n", "Display GPU memory usage.", "-r_max_device_threads" - SwapChain = **reinterpret_cast(MEM::ResolveRelativeAddress(MEM::FindPattern(RENDERSYSTEM_DLL, CS_XOR("66 0F 7F 05 ? ? ? ? 66 0F 7F 0D ? ? ? ? 48 89 35")), 0x4, 0x8)); + SwapChain = **reinterpret_cast(MEM::ResolveRelativeAddress(MEM::FindPattern(RENDERSYSTEM_DLL, CS_XOR("66 0F 7F 05 ? ? ? ? 66 0F 7F 0D ? ? ? ? 48 89 2D ? ? ? ? 0F 1F 80")), 0x4, 0x8)); bSuccess &= (SwapChain != nullptr); // grab's d3d11 interfaces for later use