[gamemode] default disable on msvc, move to UI category
Some checks failed
eden-license / license-header (pull_request) Failing after 16s
Some checks failed
eden-license / license-header (pull_request) Failing after 16s
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
217943b1ac
commit
e662fe99ac
3 changed files with 12 additions and 4 deletions
|
@ -641,8 +641,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,
|
||||||
};
|
};
|
||||||
|
|
|
@ -450,7 +450,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