From d879283e2d53042b8c48145b1f4437d21de7441c Mon Sep 17 00:00:00 2001 From: JosJuice Date: Tue, 12 Mar 2019 08:42:05 +0100 Subject: [PATCH] Fix title database not working when running games with 4-char game IDs Regression from 8842a0f. --- Source/Core/Core/ConfigManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/ConfigManager.cpp b/Source/Core/Core/ConfigManager.cpp index 56842a8490..27206db250 100644 --- a/Source/Core/Core/ConfigManager.cpp +++ b/Source/Core/Core/ConfigManager.cpp @@ -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()); } }