Move game settings apply to CommonHostInterface

This commit is contained in:
Connor McLaughlin committed 2021-02-24 01:22:04 +10:00
1 parent 28fdc5537f
commit a7e4d55d02
5 files changed
+3 -15

No files matched your search

@@ -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);