From 61064331533a44a5934602ce0091066372f2a0b7 Mon Sep 17 00:00:00 2001 From: derrod Date: Wed, 8 Dec 2021 00:22:44 +0100 Subject: [PATCH] [cli] Disable SDL for Mac titles --- legendary/cli.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/legendary/cli.py b/legendary/cli.py index 0ed5003..f61649c 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -787,6 +787,10 @@ class LegendaryCLI: elif config_disable_sdl or args.disable_sdl: 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 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)