Windows: Fixes duplicated hardware TSO handling

This was handled in both the Module.cpp files and also the common
TSOHandlerConfig on accident. Wouldn't have caused an issue but it was
definitely a bit weird.
This commit is contained in:
Ryan Houdek committed 2026-06-27 20:59:15 -07:00
1 parent 201bb73980
commit 4160a92621
3 files changed
+4 -16

No files matched your search

-5
View File
@@ -629,11 +629,6 @@ NTSTATUS ProcessInit() {
const uintptr_t KiUserExceptionDispatcherFFS = reinterpret_cast<uintptr_t>(GetProcAddress(NtDll, "KiUserExceptionDispatcher"));
Exception::KiUserExceptionDispatcher = NtDllRedirectionLUT[KiUserExceptionDispatcherFFS - NtDllBase] + NtDllBase;
FEX_CONFIG_OPT(TSOEnabled, TSOENABLED);
if (TSOEnabled() && FEX::Windows::UnixLib::TryEnableHardwareTSO()) {
CTX->SetHardwareTSOSupport(true);
}
FEX_CONFIG_OPT(ProfileStats, PROFILESTATS);
FEX_CONFIG_OPT(StartupSleep, STARTUPSLEEP);
FEX_CONFIG_OPT(StartupSleepProcName, STARTUPSLEEPPROCNAME);