mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
Fix VolumeIsValid being referenced even though it was deleted
PR #3582 removed VolumeIsValid, then PR #3582 added a call to VolumeIsValid, then both PRs were merged without either of them being rebased on top of the other.
This commit is contained in:
parent
7b19475911
commit
652b323715
@ -753,7 +753,7 @@ void SConfig::SetRunningGameMetadata(const IOS::ES::TMDReader& tmd)
|
|||||||
// the disc header instead of the TMD. They can differ.
|
// the disc header instead of the TMD. They can differ.
|
||||||
// (IOS HLE ES calls us with a TMDReader rather than a volume when launching
|
// (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.)
|
// a disc game, because ES has no reason to be accessing the disc directly.)
|
||||||
if (DVDInterface::VolumeIsValid())
|
if (DVDInterface::IsDiscInside())
|
||||||
{
|
{
|
||||||
DVDThread::WaitUntilIdle();
|
DVDThread::WaitUntilIdle();
|
||||||
const DiscIO::IVolume& volume = DVDInterface::GetVolume();
|
const DiscIO::IVolume& volume = DVDInterface::GetVolume();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user