Android: Add missing call to ApplyGameSettings

This commit is contained in:
Connor McLaughlin 2020-11-28 01:43:15 +10:00
parent 90d7550104
commit cf75282078
2 changed files with 8 additions and 0 deletions

View file

@ -509,6 +509,7 @@ void AndroidHostInterface::OnSystemDestroyed()
void AndroidHostInterface::OnRunningGameChanged()
{
CommonHostInterface::OnRunningGameChanged();
ApplySettings(true);
if (m_emulation_activity_object)
{
@ -638,6 +639,7 @@ void AndroidHostInterface::ApplySettings(bool display_osd_messages)
{
Settings old_settings = std::move(g_settings);
LoadAndConvertSettings();
CommonHostInterface::ApplyGameSettings(display_osd_messages);
CommonHostInterface::FixIncompatibleSettings(display_osd_messages);
// Defer renderer changes, the app really doesn't like it.

View file

@ -58,6 +58,12 @@
app:defaultValue="false"
app:summary="Loads patch codes from cheats/<game name>.cht in PCSXR format. Codes can be toggled while ingame."
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
app:key="Display/VSync"
app:title="Video Sync"