Skip to content

Commit

Permalink
Merge pull request #5073 from JosJuice/fix-volumeisvalid
Browse files Browse the repository at this point in the history
Fix VolumeIsValid being referenced even though it was deleted
  • Loading branch information
degasus committed Mar 13, 2017
2 parents 7b19475 + 652b323 commit f83a030
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/ConfigManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f83a030

Please sign in to comment.