Port some settings to the new config system
Other than the controller settings and JIT debug settings, these are the only settings which were defined in Java code but not defined in the new config system in C++. (There are still a lot of settings that are defined in the new config system but not yet saveable in the new config system, though.)
This commit is contained in:
1 parent
25ebc3c07c
commit
b0f9bb9f13
15 files changed
+68
-68
No files matched your search
@@ -106,6 +106,7 @@ const Info<bool> MAIN_CUSTOM_RTC_ENABLE{{System::Main, "Core", "EnableCustomRTC"
|
||||
const Info<u32> MAIN_CUSTOM_RTC_VALUE{{System::Main, "Core", "CustomRTCValue"}, 946684800};
|
||||
const Info<bool> MAIN_AUTO_DISC_CHANGE{{System::Main, "Core", "AutoDiscChange"}, false};
|
||||
const Info<bool> MAIN_ALLOW_SD_WRITES{{System::Main, "Core", "WiiSDCardAllowWrites"}, true};
|
||||
const Info<bool> MAIN_ENABLE_SAVESTATES{{System::Main, "Core", "EnableSaveStates"}, false};
|
||||
|
||||
// Main.Display
|
||||
|
||||
@@ -153,5 +154,15 @@ const Info<bool> MAIN_NETWORK_SSL_DUMP_PEER_CERT{{System::Main, "Network", "SSLD
|
||||
|
||||
// Main.Interface
|
||||
|
||||
const Info<bool> MAIN_USE_PANIC_HANDLERS{{System::Main, "Interface", "UsePanicHandlers"}, true};
|
||||
const Info<bool> MAIN_OSD_MESSAGES{{System::Main, "Interface", "OnScreenDisplayMessages"}, true};
|
||||
const Info<bool> MAIN_SKIP_NKIT_WARNING{{System::Main, "Interface", "SkipNKitWarning"}, false};
|
||||
|
||||
// Main.Analytics
|
||||
|
||||
const Info<std::string> MAIN_ANALYTICS_ID{{System::Main, "Analytics", "ID"}, ""};
|
||||
const Info<bool> MAIN_ANALYTICS_ENABLED{{System::Main, "Analytics", "Enabled"}, false};
|
||||
const Info<bool> MAIN_ANALYTICS_PERMISSION_ASKED{{System::Main, "Analytics", "PermissionAsked"},
|
||||
false};
|
||||
|
||||
} // namespace Config
|
||||
@@ -87,6 +87,7 @@ extern const Info<bool> MAIN_CUSTOM_RTC_ENABLE;
|
||||
extern const Info<u32> MAIN_CUSTOM_RTC_VALUE;
|
||||
extern const Info<bool> MAIN_AUTO_DISC_CHANGE;
|
||||
extern const Info<bool> MAIN_ALLOW_SD_WRITES;
|
||||
extern const Info<bool> MAIN_ENABLE_SAVESTATES;
|
||||
|
||||
// Main.DSP
|
||||
|
||||
@@ -129,5 +130,13 @@ extern const Info<bool> MAIN_NETWORK_SSL_DUMP_PEER_CERT;
|
||||
|
||||
// Main.Interface
|
||||
|
||||
extern const Info<bool> MAIN_USE_PANIC_HANDLERS;
|
||||
extern const Info<bool> MAIN_OSD_MESSAGES;
|
||||
extern const Info<bool> MAIN_SKIP_NKIT_WARNING;
|
||||
|
||||
// Main.Analytics
|
||||
|
||||
extern const Info<std::string> MAIN_ANALYTICS_ID;
|
||||
extern const Info<bool> MAIN_ANALYTICS_ENABLED;
|
||||
extern const Info<bool> MAIN_ANALYTICS_PERMISSION_ASKED;
|
||||
} // namespace Config
|
||||
@@ -10,7 +10,11 @@ namespace Config
|
||||
|
||||
const Info<bool> MAIN_USE_DISCORD_PRESENCE{{System::Main, "General", "UseDiscordPresence"}, true};
|
||||
const Info<bool> MAIN_USE_GAME_COVERS{{System::Main, "General", "UseGameCovers"}, false};
|
||||
|
||||
const Info<bool> MAIN_FOCUSED_HOTKEYS{{System::Main, "General", "HotkeysRequireFocus"}, true};
|
||||
const Info<bool> MAIN_RECURSIVE_ISO_PATHS{{System::Main, "General", "RecursiveISOPaths"}, false};
|
||||
|
||||
// UI.Android
|
||||
|
||||
const Info<int> MAIN_LAST_PLATFORM_TAB{{System::Main, "Android", "LastPlatformTab"}, 0};
|
||||
|
||||
} // namespace Config
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "Common/Config/Config.h"
|
||||
|
||||
// This is a temporary soluation, although they should be in their repected cpp file in UICommon.
|
||||
// However, in order for IsSettingSaveable to commpile without some issues, this needs to be here.
|
||||
// However, in order for IsSettingSaveable to compile without some issues, this needs to be here.
|
||||
// Once IsSettingSaveable is removed, then you should able to move these back to UICommon.
|
||||
|
||||
namespace Config
|
||||
@@ -19,5 +19,10 @@ namespace Config
|
||||
extern const Info<bool> MAIN_USE_DISCORD_PRESENCE;
|
||||
extern const Info<bool> MAIN_USE_GAME_COVERS;
|
||||
extern const Info<bool> MAIN_FOCUSED_HOTKEYS;
|
||||
extern const Info<bool> MAIN_RECURSIVE_ISO_PATHS;
|
||||
|
||||
// UI.Android
|
||||
|
||||
extern const Info<int> MAIN_LAST_PLATFORM_TAB;
|
||||
|
||||
} // namespace Config
|
||||
Reference in new issue
Block a user