Merge pull request #5073 from JosJuice/fix-volumeisvalid

Fix VolumeIsValid being referenced even though it was deleted
This commit is contained in:
Markus Wick 2017-03-13 15:42:06 +01:00 committed by GitHub
commit f83a030a87

View File

@ -753,7 +753,7 @@ void SConfig::SetRunningGameMetadata(const IOS::ES::TMDReader& tmd)
// the disc header instead of the TMD. They can differ.
// (IOS HLE ES calls us with a TMDReader rather than a volume when launching
// a disc game, because ES has no reason to be accessing the disc directly.)
if (DVDInterface::VolumeIsValid())
if (DVDInterface::IsDiscInside())
{
DVDThread::WaitUntilIdle();
const DiscIO::IVolume& volume = DVDInterface::GetVolume();