diff --git a/src/Components/Modules/Flags.cpp b/src/Components/Modules/Flags.cpp index 6de17ca1..d9ec14ef 100644 --- a/src/Components/Modules/Flags.cpp +++ b/src/Components/Modules/Flags.cpp @@ -41,6 +41,12 @@ namespace Components LocalFree(argv); } + + // Workaround for wine + if (Utils::IsWineEnvironment() && Dedicated::IsEnabled() && !Flags::HasFlag("console") && !Flags::HasFlag("stdout")) + { + Flags::EnabledFlags.push_back("stdout"); + } } Flags::Flags() diff --git a/src/Components/Modules/QuickPatch.cpp b/src/Components/Modules/QuickPatch.cpp index 51e18c5d..6172b705 100644 --- a/src/Components/Modules/QuickPatch.cpp +++ b/src/Components/Modules/QuickPatch.cpp @@ -294,8 +294,11 @@ namespace Components Utils::Hook::Set(0x4DACA2, 0xEB); // require Windows 6 (Vista) - Utils::Hook::Set(0x467ADF, 6); - Utils::Hook::Set(0x6DF5D6, '6'); + if (!Utils::IsWineEnvironment()) + { + Utils::Hook::Set(0x467ADF, 6); + Utils::Hook::Set(0x6DF5D6, '6'); + } // disable 'ignoring asset' notices Utils::Hook::Nop(0x5BB902, 5);