mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-11 02:51:10 +00:00
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:
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"
|
||||
|
||||
|
||||
Reference in new issue
Block a user