chore: drop the comments added with the Unity TSO fix (#1423)

Follow-up to #1415: removes the code comment and docstring it added. No
behavior change.
This commit is contained in:
MaxsTechReview authored and GitHub committed 2026-10-23 16:32:35 -04:00
commit 1deae2fa5b
2 files changed
-4

No files matched your search

@@ -683,7 +683,6 @@ def game_environment(env, command):
game = game_env["Game"](resolve(command[0], env), command[1:])
for check in game_env["FIXES"]:
found = check(game)
# Environment fixes only: the launch arguments some fixes add were chosen for Windows builds.
if found and found[0]:
fixes.update(found[0])
say(found[2])
@@ -89,9 +89,6 @@ def dotnet_memory_ordering(game):
@fix
def unity_memory_ordering(game):
"""A Unity player under FEX without TSO deadlocks or crashes: Megabonk (Linux, IL2CPP) froze with every
thread parked on a futex on about half of all launches, Crab Game (Windows under Proton, IL2CPP) died with
an access violation in UnityPlayer.dll. Presets that turn TSO off keep it on for Unity games."""
if {"unityplayer.so", "gameassembly.so", "unityplayer.dll"} & game.files:
return {"FEX_TSOENABLED": "1"}, [], "Unity: FEX with TSO"