diff --git a/src/Components/Modules/QuickPatch.cpp b/src/Components/Modules/QuickPatch.cpp index a60218f4..6bedf7e2 100644 --- a/src/Components/Modules/QuickPatch.cpp +++ b/src/Components/Modules/QuickPatch.cpp @@ -306,6 +306,24 @@ namespace Components { QuickPatch::UnlockStats(); }); + + + // Debug patches +#ifdef DEBUG + // ui_debugMode 1 + //Utils::Hook::Set(0x6312E0, true); + + // fs_debug 1 + Utils::Hook::Set(0x643172, true); + + // developer 2 + Utils::Hook::Set(0x4FA425, 2); + Utils::Hook::Set(0x51B087, 2); + Utils::Hook::Set(0x60AE13, 2); + + // developer_Script 1 + Utils::Hook::Set(0x60AE2B, true); +#endif } QuickPatch::~QuickPatch() diff --git a/src/STDInclude.cpp b/src/STDInclude.cpp index d27b02cc..cff2617a 100644 --- a/src/STDInclude.cpp +++ b/src/STDInclude.cpp @@ -46,6 +46,7 @@ Assert_Size(char, 1); Assert_Size(unsigned char, 1); Assert_Size(int8_t, 1); Assert_Size(uint8_t, 1); +Assert_Size(bool, 1); // Ensure pointers are 4 bytes in size (32-bit) static_assert(sizeof(intptr_t) == 4 && sizeof(void*) == 4 && sizeof(size_t) == 4, "This doesn't seem to be a 32-bit environment!");