Merge pull request #7876 from JosJuice/4-char-window-title

Fix title database not working when running games with 4-char game IDs
This commit is contained in:
Mat M 2019-03-12 05:17:33 -04:00 committed by GitHub
commit 7944a055a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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());
}
}