mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
(Android) Disabled the RunInBackground setting and corresponding menu option
This commit is contained in:
parent
e3387c9016
commit
193f98cc1e
|
@ -1472,6 +1472,7 @@ void GuiMenu::openOtherOptions()
|
|||
});
|
||||
#endif
|
||||
|
||||
#if !defined(__ANDROID__)
|
||||
// Run ES in the background when a game has been launched.
|
||||
auto runInBackground = std::make_shared<SwitchComponent>();
|
||||
runInBackground->setState(Settings::getInstance()->getBool("RunInBackground"));
|
||||
|
@ -1482,6 +1483,7 @@ void GuiMenu::openOtherOptions()
|
|||
s->setNeedsSaving();
|
||||
}
|
||||
});
|
||||
#endif
|
||||
|
||||
#if defined(VIDEO_HW_DECODING)
|
||||
// Whether to enable hardware decoding for the FFmpeg video player.
|
||||
|
|
|
@ -275,7 +275,9 @@ void Settings::setDefaults()
|
|||
#if defined(_WIN64)
|
||||
mBoolMap["HideTaskbar"] = {false, false};
|
||||
#endif
|
||||
#if !defined(__ANDROID__)
|
||||
mBoolMap["RunInBackground"] = {false, false};
|
||||
#endif
|
||||
#if defined(VIDEO_HW_DECODING)
|
||||
mBoolMap["VideoHardwareDecoding"] = {false, false};
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue