diff --git a/Source/Core/DolphinQt2/GameList/GameFile.cpp b/Source/Core/DolphinQt2/GameList/GameFile.cpp index 725e444067..6a0920e17e 100644 --- a/Source/Core/DolphinQt2/GameList/GameFile.cpp +++ b/Source/Core/DolphinQt2/GameList/GameFile.cpp @@ -139,7 +139,8 @@ bool GameFile::TryLoadCache() bool GameFile::TryLoadVolume() { - QSharedPointer volume(DiscIO::CreateVolumeFromFilename(m_path.toStdString())); + QSharedPointer volume( + DiscIO::CreateVolumeFromFilename(m_path.toStdString()).release()); if (volume == nullptr) return false;