[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,
|
||||||
true};
|
true};
|
||||||
|
|
||||||
// Linux
|
// Linux/MinGW may support (requires libdl support)
|
||||||
SwitchableSetting<bool> enable_gamemode{linkage, true, "enable_gamemode", Category::Linux};
|
SwitchableSetting<bool> enable_gamemode{linkage,
|
||||||
|
#ifndef _MSC_VER
|
||||||
|
true,
|
||||||
|
#else
|
||||||
|
false,
|
||||||
|
#endif
|
||||||
|
"enable_gamemode", Category::UiGeneral};
|
||||||
|
|
||||||
// Controls
|
// Controls
|
||||||
InputSetting<std::array<PlayerInput, 10>> players;
|
InputSetting<std::array<PlayerInput, 10>> players;
|
||||||
|
|
|
@ -44,7 +44,6 @@ enum class Category : u32 {
|
||||||
Multiplayer,
|
Multiplayer,
|
||||||
Services,
|
Services,
|
||||||
Paths,
|
Paths,
|
||||||
Linux,
|
|
||||||
LibraryApplet,
|
LibraryApplet,
|
||||||
MaxEnum,
|
MaxEnum,
|
||||||
};
|
};
|
||||||
|
|
|
@ -429,7 +429,10 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QObject* parent)
|
||||||
tr("Whether or not to check for updates upon startup."));
|
tr("Whether or not to check for updates upon startup."));
|
||||||
|
|
||||||
// Linux
|
// Linux
|
||||||
INSERT(Settings, enable_gamemode, tr("Enable Gamemode"), QString());
|
INSERT(UISettings,
|
||||||
|
enable_gamemode,
|
||||||
|
tr("Enable Gamemode"),
|
||||||
|
QString());
|
||||||
|
|
||||||
// Ui Debugging
|
// Ui Debugging
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue