summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/GameList/GameFile.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2016-10-31 12:39:27 +0100
committerGitHub <noreply@github.com>2016-10-31 12:39:27 +0100
commitd5ca153c26a9eae2084a3ff8d4a8d5cd1acf56ac (patch)
tree5c888bea55127f46f2eb9c9fc7f3e79a588a4343 /Source/Core/DolphinQt2/GameList/GameFile.cpp
parent22779473bcfcb7f90f512606c0f584f0db450ba5 (diff)
parent1081497cad9c70c5b66552e20bbc00657a05f0e5 (diff)
Merge pull request #4401 from JosJuice/rename-getuniqueid
DiscIO/SConfig: Rename GetUniqueID to GetGameID
Diffstat (limited to 'Source/Core/DolphinQt2/GameList/GameFile.cpp')
-rw-r--r--Source/Core/DolphinQt2/GameList/GameFile.cpp4
1 files changed, 2 insertions, 2 deletions
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);