System: Add path/image to game change notification

This commit is contained in:
Connor McLaughlin
2021-02-21 16:53:14 +10:00
parent 77090865c1
commit 7501e89b7a
11 changed files with 30 additions and 17 deletions

View File

@ -314,9 +314,10 @@ void NoGUIHostInterface::OnSystemDestroyed()
FullscreenUI::SystemDestroyed();
}
void NoGUIHostInterface::OnRunningGameChanged()
void NoGUIHostInterface::OnRunningGameChanged(const std::string& path, CDImage* image, const std::string& game_code,
const std::string& game_title)
{
CommonHostInterface::OnRunningGameChanged();
CommonHostInterface::OnRunningGameChanged(path, image, game_code, game_title);
// TODO: Move to common
if (g_settings.apply_game_settings)