Qt: Add option to disable per-game settings

This commit is contained in:
Connor McLaughlin
2020-08-21 00:08:40 +10:00
parent 5fca2d1d1c
commit bca609a2a6
6 changed files with 43 additions and 18 deletions

View File

@ -2029,7 +2029,7 @@ bool CommonHostInterface::SaveScreenshot(const char* filename /* = nullptr */, b
void CommonHostInterface::ApplyGameSettings(bool display_osd_messages)
{
// this gets called while booting, so can't use valid
if (System::IsShutdown() || System::GetRunningCode().empty())
if (System::IsShutdown() || System::GetRunningCode().empty() || !g_settings.apply_game_settings)
return;
const GameSettings::Entry* gs = m_game_list->GetGameSettings(System::GetRunningPath(), System::GetRunningCode());