From cc64a58b68f65aec2cb6f6ff846ab2b8d40a47fe Mon Sep 17 00:00:00 2001 From: elasota Date: Sun, 5 Nov 2023 17:54:01 -0500 Subject: [PATCH] BASE: Don't expose disable-sdl-audio or disable-sdl-parachute options when not using SDL --- base/commandLine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/base/commandLine.cpp b/base/commandLine.cpp index fccdae24855..b7dec250951 100644 --- a/base/commandLine.cpp +++ b/base/commandLine.cpp @@ -820,11 +820,13 @@ Common::String parseCommandLine(Common::StringMap &settings, int argc, const cha } END_OPTION +#ifdef SDL_BACKEND DO_LONG_OPTION_BOOL("disable-sdl-parachute") END_OPTION DO_LONG_OPTION_BOOL("disable-sdl-audio") END_OPTION +#endif DO_LONG_OPTION_BOOL("multi-midi") END_OPTION