mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
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.
This commit is contained in:
@ -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(),
|
||||
|
Reference in New Issue
Block a user