diff options
Diffstat (limited to 'Source/Core/DolphinQt/GameList/GameFile.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/GameList/GameFile.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/GameList/GameFile.cpp b/Source/Core/DolphinQt/GameList/GameFile.cpp index 66b4c26005..0d773d1fe0 100644 --- a/Source/Core/DolphinQt/GameList/GameFile.cpp +++ b/Source/Core/DolphinQt/GameList/GameFile.cpp @@ -109,8 +109,13 @@ GameFile::GameFile(const QString& fileName) m_file_size = volume->GetRawSize(); m_volume_size = volume->GetSize(); + // A temporary variable is necessary here to convert between + // quint64 (needed by GameFile's cache code) and u64 (needed by GetTitleID) + u64 title_id; + volume->GetTitleID(&title_id); + m_title_id = title_id; + m_unique_id = QString::fromStdString(volume->GetUniqueID()); - volume->GetTitleID(&m_title_id); m_disc_number = volume->GetDiscNumber(); m_revision = volume->GetRevision(); |
