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

@ -701,9 +701,10 @@ void QtHostInterface::OnSystemPerformanceCountersUpdated()
System::GetAverageFrameTime(), System::GetWorstFrameTime());
}
void QtHostInterface::OnRunningGameChanged()
void QtHostInterface::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);
applySettings(true);
if (!System::IsShutdown())