From 251144fa88dccfc6d8026dd98cd99470d91fcb90 Mon Sep 17 00:00:00 2001 From: Skull <86374920+skkuull@users.noreply.github.com> Date: Tue, 6 Sep 2022 18:28:44 +0300 Subject: [PATCH] for now for some reason values are changed back to the originals, needs small investigation. --- src/client/component/system_check.cpp | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/src/client/component/system_check.cpp b/src/client/component/system_check.cpp index 3d1f7e99..452f4df2 100644 --- a/src/client/component/system_check.cpp +++ b/src/client/component/system_check.cpp @@ -68,22 +68,15 @@ namespace system_check void verify_binary_version() { const auto value = *reinterpret_cast(0x1337_b); - if (arxan::is_wine()) - { - if (value == 0xFFB81262 || value == 0xFFB81143) - { - return; - } - } - else + if (!arxan::is_wine()) { if (value == 0x60202B6A || value == 0xBC0E9FE) { return; } + + throw std::runtime_error("Unsupported Call of Duty: Modern Warfare Remastered version (1.15)"); } - - throw std::runtime_error("Unsupported Call of Duty: Modern Warfare Remastered version (1.15)"); } }