summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2022-11-11 20:44:30 -0500
committerCharles Lombardo <clombardo169@gmail.com>2022-12-02 13:31:57 -0500
commitb9fffa2e66025e7f4b3f8a4ff4e6c71a171452f8 (patch)
tree63fd805aaec412e70022083cb06cd08c981051e0 /Source/Core
parent385dfb60a0da10ff899bafbdd3a8d90168022db9 (diff)
Android: Add theme mode switcher
Similar to app themes, theme modes have to be loaded before directory initialization is ready. So we save the proper key the same way.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp b/Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp
index bd7f28fe3c..9c50002204 100644
--- a/Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp
+++ b/Source/Core/Core/ConfigLoaders/IsSettingSaveable.cpp
@@ -39,10 +39,12 @@ bool IsSettingSaveable(const Config::Location& config_location)
// TODO: Kill the current Android controller mappings system
if (config_location.section == "Android")
{
- static constexpr std::array<const char*, 12> android_setting_saveable = {
- "ControlScale", "ControlOpacity", "EmulationOrientation", "JoystickRelCenter",
- "LastPlatformTab", "MotionControls", "PhoneRumble", "ShowInputOverlay",
- "IRMode", "IRAlwaysRecenter", "ShowGameTitles", "InterfaceTheme"};
+ static constexpr std::array<const char*, 13> android_setting_saveable = {
+ "ControlScale", "ControlOpacity", "EmulationOrientation",
+ "JoystickRelCenter", "LastPlatformTab", "MotionControls",
+ "PhoneRumble", "ShowInputOverlay", "IRMode",
+ "IRAlwaysRecenter", "ShowGameTitles", "InterfaceTheme",
+ "InterfaceThemeMode"};
return std::any_of(
android_setting_saveable.cbegin(), android_setting_saveable.cend(),