Qt: Allow post-processing to be set per-game

This commit is contained in:
Stenzek
2023-11-24 14:00:52 +10:00
parent 9d06fde276
commit b8d4669997
2 changed files with 10 additions and 8 deletions

View File

@ -40,9 +40,14 @@ SettingsInterface& PostProcessingSettingsWidget::getSettingsInterfaceToUpdate()
void PostProcessingSettingsWidget::commitSettingsUpdate()
{
if (m_dialog->isPerGameSettings())
{
m_dialog->getSettingsInterface()->Save();
g_emu_thread->reloadGameSettings(false);
}
else
{
Host::CommitBaseSettingChanges();
}
g_emu_thread->updatePostProcessingSettings();
}