mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
Merge pull request #5073 from JosJuice/fix-volumeisvalid
Fix VolumeIsValid being referenced even though it was deleted
This commit is contained in:
commit
f83a030a87
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user