From 4fcf2e7b9712a29090b9e1cbbf1a40bd28c0faca Mon Sep 17 00:00:00 2001 From: alphanin9 <47785076+alphanin9@users.noreply.github.com> Date: Wed, 11 Dec 2024 02:18:56 +0200 Subject: [PATCH] Added compatibility with Patch 2.2 --- src/Image.h | 2 +- src/reverse/Addresses.h | 2 +- vendor/RED4ext.SDK | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Image.h b/src/Image.h index aba2d065..0f4eccb1 100644 --- a/src/Image.h +++ b/src/Image.h @@ -8,7 +8,7 @@ struct Image { void Initialize(); - static std::tuple GetSupportedVersion() noexcept { return std::make_tuple(2, 13); } + static std::tuple GetSupportedVersion() noexcept { return std::make_tuple(2, 2000); } uintptr_t base_address; mem::region TextRegion; diff --git a/src/reverse/Addresses.h b/src/reverse/Addresses.h index 9a93a005..789b3003 100644 --- a/src/reverse/Addresses.h +++ b/src/reverse/Addresses.h @@ -24,7 +24,7 @@ constexpr uint32_t CPatches_OptionsInit = 4089777341UL; // Config::IConfigVar::R #pragma endregion #pragma region CPhotoMode -constexpr uint32_t CPhotoMode_SetRecordID = 4052428712UL; +constexpr uint32_t CPhotoMode_SetRecordID = 4241565651UL; #pragma endregion #pragma region CRenderGlobal diff --git a/vendor/RED4ext.SDK b/vendor/RED4ext.SDK index 297fad05..86ade1da 160000 --- a/vendor/RED4ext.SDK +++ b/vendor/RED4ext.SDK @@ -1 +1 @@ -Subproject commit 297fad05ad41e29c66cb6a9e8e022ce844b726cc +Subproject commit 86ade1da38d196ad41350d6ce866e06bd150f9db