From 5749fa190d5e0a41be9268a3b5f3459bcca44b6a Mon Sep 17 00:00:00 2001 From: Archie_UwU Date: Thu, 29 Jun 2023 18:09:44 +0200 Subject: [PATCH] Emergency fix for 32-bit games Seems the recent commit broke all 32-bit games. Huge thanks to imthebluestbird for bringing this to my attention. --- YYToolkit/Src/Core/Features/API/Internal.cpp | 2 +- YYToolkit/Src/Core/SDK/FwdDecls/FwdDecls.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/YYToolkit/Src/Core/Features/API/Internal.cpp b/YYToolkit/Src/Core/Features/API/Internal.cpp index dbf91ee..fb79f4a 100644 --- a/YYToolkit/Src/Core/Features/API/Internal.cpp +++ b/YYToolkit/Src/Core/Features/API/Internal.cpp @@ -341,7 +341,7 @@ YYTKStatus API::Internal::MmFindCodeFunction(uintptr_t& dwOutBuffer) dwOutBuffer = (uintptr_t)dummy_find_function; return YYTK_OK; #else - YYTKStatus Status = MmFindByteArray("\x8B\x44\x24\x04\x3B\x05\x00\x00\x00\x00\x7F", UINT_MAX, 0, 0, "xxxxxx????x", false, dwOutBuffer); + return MmFindByteArray("\x8B\x44\x24\x04\x3B\x05\x00\x00\x00\x00\x7F", UINT_MAX, 0, 0, "xxxxxx????x", false, dwOutBuffer); #endif } diff --git a/YYToolkit/Src/Core/SDK/FwdDecls/FwdDecls.hpp b/YYToolkit/Src/Core/SDK/FwdDecls/FwdDecls.hpp index 545e869..e3ec29c 100644 --- a/YYToolkit/Src/Core/SDK/FwdDecls/FwdDecls.hpp +++ b/YYToolkit/Src/Core/SDK/FwdDecls/FwdDecls.hpp @@ -78,7 +78,7 @@ typedef bool (*FNCodeExecute)(YYObjectBase* Self, YYObjectBase* Other, CCode* co #define WIN32_LEAN_AND_MEAN 1 #define YYTK_MAGIC 'TFSI' -static const char* YYSDK_VERSION = "2.1.3"; +static const char* YYSDK_VERSION = "2.1.3b"; // Macros, but complicated #ifdef _MSC_VER