mirror of
https://github.com/lutris/lutris
synced 2024-11-02 07:10:17 +00:00
Fix misnamed variable
This commit is contained in:
parent
6a61702066
commit
a845112ff8
1 changed files with 3 additions and 3 deletions
|
@ -1108,16 +1108,16 @@ class wine(Runner):
|
|||
|
||||
if launch_info["env"].get("WINEFSYNC") == "1":
|
||||
fsync_supported = is_fsync_supported()
|
||||
wine_supports_esync = is_version_fsync(self.get_executable())
|
||||
wine_supports_fsync = is_version_fsync(self.get_executable())
|
||||
|
||||
if not fsync_supported and not wine_supports_esync:
|
||||
if not fsync_supported and not wine_supports_fsync:
|
||||
fsync_display_version_warning()
|
||||
fsync_display_support_warning()
|
||||
return {"error": "FSYNC_NOT_SUPPORTED"}
|
||||
if not fsync_supported:
|
||||
fsync_display_support_warning()
|
||||
return {"error": "FSYNC_NOT_SUPPORTED"}
|
||||
if not wine_supports_esync:
|
||||
if not wine_supports_fsync:
|
||||
fsync_display_version_warning()
|
||||
return {"error": "NON_FSYNC_WINE_VERSION"}
|
||||
|
||||
|
|
Loading…
Reference in a new issue