Move game settings apply to CommonHostInterface

This commit is contained in:
Connor McLaughlin
2021-02-22 02:59:40 +10:00
parent 28fdc5537f
commit a7e4d55d02
5 changed files with 3 additions and 15 deletions

View File

@ -911,6 +911,9 @@ void CommonHostInterface::OnRunningGameChanged(const std::string& path, CDImage*
{
HostInterface::OnRunningGameChanged(path, image, game_code, game_title);
if (g_settings.apply_game_settings)
ApplySettings(true);
if (!System::IsShutdown())
{
System::SetCheatList(nullptr);