Skip to content

Commit

Permalink
Emergency fix for 32-bit games
Browse files Browse the repository at this point in the history
Seems the recent commit broke all 32-bit games. Huge thanks to imthebluestbird for bringing this to my attention.
  • Loading branch information
Archie-osu committed Jun 29, 2023
1 parent 5c54732 commit 5749fa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion YYToolkit/Src/Core/Features/API/Internal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion YYToolkit/Src/Core/SDK/FwdDecls/FwdDecls.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5749fa1

Please sign in to comment.