perf: .NET games keep the FEX preset's multiblock setting (Stardew Valley starts in 45 s instead of 85 s) (#1880)

perf: .NET games keep the FEX preset's multiblock setting
This commit is contained in:
MaxsTechReview authored and GitHub committed 2026-10-31 00:17:09 -04:00
1 parent 6eef0721c9
commit b07eca3c06
2 files changed
+2 -3

No files matched your search

@@ -34,7 +34,6 @@ DOTNET_FEX = {
"FEX_MEMCPYSETTSOENABLED": "1",
"FEX_HALFBARRIERTSOENABLED": "1",
"FEX_X87REDUCEDPRECISION": "0",
"FEX_MULTIBLOCK": "0",
}
@@ -85,7 +84,7 @@ def is_godot(game):
@fix
def dotnet_memory_ordering(game):
if "coreclr.dll" in game.files:
return DOTNET_FEX, [], ".NET runtime: FEX with full TSO and without multiblock"
return DOTNET_FEX, [], ".NET runtime: FEX with full TSO"
@fix
+1 -1
View File
@@ -452,7 +452,7 @@ class GameEnvironmentTest(unittest.TestCase):
(game / name).touch()
env, extra, notes = MODULE["engine_fixes"](str(game / "Game.exe"), [])
self.assertEqual(env["FEX_TSOENABLED"], "1")
self.assertEqual(env["FEX_MULTIBLOCK"], "0")
self.assertNotIn("FEX_MULTIBLOCK", env)
self.assertEqual(env["WINEDLLOVERRIDES"], "libsentry.windows.release.x86_64=d")
self.assertEqual(extra, ["--rendering-driver", "vulkan"])
self.assertEqual(MODULE["engine_fixes"](str(game / "Game.exe"), ["--rendering-driver", "opengl3"])[1], [])