Fix title database not working when running games with 4-char game IDs

Regression from 8842a0f.
This commit is contained in:
JosJuice 2019-03-12 08:42:05 +01:00
parent 22e7419747
commit d879283e2d

View File

@ -710,8 +710,8 @@ void SConfig::SetRunningGameMetadata(const IOS::ES::TMDReader& tmd)
if (!DVDInterface::UpdateRunningGameMetadata(tmd_title_id))
{
// If not launching a disc game, just read everything from the TMD.
const std::string game_id = tmd.GetGameID();
SetRunningGameMetadata(game_id, game_id, tmd_title_id, tmd.GetTitleVersion());
SetRunningGameMetadata(tmd.GetGameID(), tmd.GetGameTDBID(), tmd_title_id,
tmd.GetTitleVersion());
}
}