[gamemode] default disable on msvc, move to UI category
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
0f8cb492fa
commit
b7f08357b9
3 changed files with 12 additions and 4 deletions
|
@ -616,8 +616,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;
|
||||
|
|
|
@ -44,7 +44,6 @@ enum class Category : u32 {
|
|||
Multiplayer,
|
||||
Services,
|
||||
Paths,
|
||||
Linux,
|
||||
LibraryApplet,
|
||||
MaxEnum,
|
||||
};
|
||||
|
|
|
@ -429,7 +429,10 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QObject* 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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue