mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Disable SDL for Mac titles
This commit is contained in:
parent
e0ad2171bf
commit
6106433153
|
@ -787,6 +787,10 @@ class LegendaryCLI:
|
||||||
elif config_disable_sdl or args.disable_sdl:
|
elif config_disable_sdl or args.disable_sdl:
|
||||||
sdl_enabled = False
|
sdl_enabled = False
|
||||||
|
|
||||||
|
# Disable SDL for non-Windows (for now, as no Mac SDL files are available right now)
|
||||||
|
if args.platform not in ('Win32', 'Windows'):
|
||||||
|
sdl_enabled = False
|
||||||
|
|
||||||
if sdl_enabled and ((sdl_name := get_sdl_appname(game.app_name)) is not None):
|
if sdl_enabled and ((sdl_name := get_sdl_appname(game.app_name)) is not None):
|
||||||
if not self.core.is_installed(game.app_name) or config_tags is None or args.reset_sdl:
|
if not self.core.is_installed(game.app_name) or config_tags is None or args.reset_sdl:
|
||||||
sdl_data = self.core.get_sdl_data(sdl_name)
|
sdl_data = self.core.get_sdl_data(sdl_name)
|
||||||
|
|
Loading…
Reference in a new issue