[QuickPatch] Allow windows 5 again

This commit is contained in:
momo5502 2017-07-02 11:12:17 +02:00
parent f2aff65d68
commit 688a5d9cac

View File

@ -293,12 +293,9 @@ namespace Components
// disable bind protection
Utils::Hook::Set<BYTE>(0x4DACA2, 0xEB);
// require Windows 6 (Vista)
if (!Utils::IsWineEnvironment())
{
Utils::Hook::Set<BYTE>(0x467ADF, 6);
Utils::Hook::Set<char>(0x6DF5D6, '6');
}
// require Windows 5
Utils::Hook::Set<BYTE>(0x467ADF, 5);
Utils::Hook::Set<char>(0x6DF5D6, '5');
// disable 'ignoring asset' notices
Utils::Hook::Nop(0x5BB902, 5);