[gamemode] default disable on msvc, move to UI category
All checks were successful
eden-license / license-header (pull_request) Successful in 36s

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2025-09-13 20:48:40 +00:00 committed by crueter
parent f54161b6ab
commit 63b9d22235
3 changed files with 12 additions and 4 deletions

View file

@ -645,8 +645,14 @@ struct Values {
true,
true};
// Linux
SwitchableSetting<bool> enable_gamemode{linkage, true, "enable_gamemode", Category::Linux};
// Linux/MinGW may support (requires libdl support)
SwitchableSetting<bool> enable_gamemode{linkage,
#ifndef _MSC_VER
true,
#else
false,
#endif
"enable_gamemode", Category::UiGeneral};
// Controls
InputSetting<std::array<PlayerInput, 10>> players;

View file

@ -44,7 +44,6 @@ enum class Category : u32 {
Multiplayer,
Services,
Paths,
Linux,
LibraryApplet,
MaxEnum,
};

View file

@ -460,7 +460,10 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent)
tr("Whether or not to check for updates upon startup."));
// Linux
INSERT(Settings, enable_gamemode, tr("Enable Gamemode"), QString());
INSERT(UISettings,
enable_gamemode,
tr("Enable Gamemode"),
QString());
// Ui Debugging