GameDatabase: Fix identification of misnamed-exe games

This commit is contained in:
Stenzek
2023-11-29 23:05:27 +10:00
parent 35799aba47
commit 4ac4388b08
5 changed files with 51 additions and 12 deletions

View File

@ -3346,7 +3346,7 @@ void System::UpdateRunningGame(const char* path, CDImage* image, bool booting)
std::string id;
GetGameDetailsFromImage(image, &id, &s_running_game_hash);
s_running_game_entry = GameDatabase::GetEntryForId(id);
s_running_game_entry = GameDatabase::GetEntryForGameDetails(id, s_running_game_hash);
if (s_running_game_entry)
{
s_running_game_serial = s_running_game_entry->serial;