diff --git a/pcsx2/MTGS.cpp b/pcsx2/MTGS.cpp index 7128a7ed54..d127e1046a 100644 --- a/pcsx2/MTGS.cpp +++ b/pcsx2/MTGS.cpp @@ -9,6 +9,7 @@ #include "IconsFontAwesome5.h" #include "VMManager.h" +#include "common/FPControl.h" #include "common/ScopedGuard.h" #include "common/StringUtil.h" #include "common/WrappedMemCopy.h" @@ -144,6 +145,10 @@ void MTGS::ThreadEntryPoint() { Threading::SetNameOfCurrentThread("GS"); + // Explicitly set rounding mode to default (nearest, FTZ off). + // Otherwise it appears to get inherited from the EE thread on Linux. + FPControlRegister::SetCurrent(FPControlRegister::GetDefault()); + for (;;) { // wait until we're actually asked to initialize (and config has been loaded, etc)