From 1081497cad9c70c5b66552e20bbc00657a05f0e5 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 29 Oct 2016 14:42:43 +0200 Subject: DiscIO/SConfig: Rename GetUniqueID to GetGameID We call this "game ID" everywhere else, and it's not actually completely unique. --- Source/Core/DolphinQt2/GameList/GameFile.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/DolphinQt2/GameList/GameFile.cpp') diff --git a/Source/Core/DolphinQt2/GameList/GameFile.cpp b/Source/Core/DolphinQt2/GameList/GameFile.cpp index b8d8a720ea..f27f3a6683 100644 --- a/Source/Core/DolphinQt2/GameList/GameFile.cpp +++ b/Source/Core/DolphinQt2/GameList/GameFile.cpp @@ -102,7 +102,7 @@ bool GameFile::LoadFileInfo(const QString& path) void GameFile::LoadState() { - IniFile ini = SConfig::LoadGameIni(m_unique_id.toStdString(), m_revision); + IniFile ini = SConfig::LoadGameIni(m_game_id.toStdString(), m_revision); std::string issues_temp; ini.GetIfExists("EmuState", "EmulationStateId", &m_rating); ini.GetIfExists("EmuState", "EmulationIssues", &issues_temp); @@ -142,7 +142,7 @@ bool GameFile::TryLoadVolume() if (volume == nullptr) return false; - m_unique_id = QString::fromStdString(volume->GetUniqueID()); + m_game_id = QString::fromStdString(volume->GetGameID()); std::string maker_id = volume->GetMakerID(); m_maker = QString::fromStdString(DiscIO::GetCompanyFromID(maker_id)); m_maker_id = QString::fromStdString(maker_id); -- cgit v1.2.3