mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-30 01:25:51 +00:00
Android: Add missing call to ApplyGameSettings
This commit is contained in:
parent
90d7550104
commit
cf75282078
|
@ -509,6 +509,7 @@ void AndroidHostInterface::OnSystemDestroyed()
|
||||||
void AndroidHostInterface::OnRunningGameChanged()
|
void AndroidHostInterface::OnRunningGameChanged()
|
||||||
{
|
{
|
||||||
CommonHostInterface::OnRunningGameChanged();
|
CommonHostInterface::OnRunningGameChanged();
|
||||||
|
ApplySettings(true);
|
||||||
|
|
||||||
if (m_emulation_activity_object)
|
if (m_emulation_activity_object)
|
||||||
{
|
{
|
||||||
|
@ -638,6 +639,7 @@ void AndroidHostInterface::ApplySettings(bool display_osd_messages)
|
||||||
{
|
{
|
||||||
Settings old_settings = std::move(g_settings);
|
Settings old_settings = std::move(g_settings);
|
||||||
LoadAndConvertSettings();
|
LoadAndConvertSettings();
|
||||||
|
CommonHostInterface::ApplyGameSettings(display_osd_messages);
|
||||||
CommonHostInterface::FixIncompatibleSettings(display_osd_messages);
|
CommonHostInterface::FixIncompatibleSettings(display_osd_messages);
|
||||||
|
|
||||||
// Defer renderer changes, the app really doesn't like it.
|
// Defer renderer changes, the app really doesn't like it.
|
||||||
|
|
|
@ -58,6 +58,12 @@
|
||||||
app:defaultValue="false"
|
app:defaultValue="false"
|
||||||
app:summary="Loads patch codes from cheats/<game name>.cht in PCSXR format. Codes can be toggled while ingame."
|
app:summary="Loads patch codes from cheats/<game name>.cht in PCSXR format. Codes can be toggled while ingame."
|
||||||
app:iconSpaceReserved="false" />
|
app:iconSpaceReserved="false" />
|
||||||
|
<SwitchPreferenceCompat
|
||||||
|
app:key="Main/ApplyGameSettings"
|
||||||
|
app:title="Apply Compatibility Settings"
|
||||||
|
app:defaultValue="true"
|
||||||
|
app:summary="Automatically disable enhancements when they are not supported by games."
|
||||||
|
app:iconSpaceReserved="false" />
|
||||||
<SwitchPreferenceCompat
|
<SwitchPreferenceCompat
|
||||||
app:key="Display/VSync"
|
app:key="Display/VSync"
|
||||||
app:title="Video Sync"
|
app:title="Video Sync"
|
||||||
|
|
Loading…
Reference in a new issue