summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2017-03-13 15:42:06 +0100
committerGitHub <noreply@github.com>2017-03-13 15:42:06 +0100
commitf83a030a879ddb39b8a910fdbb2332f1a3d79d75 (patch)
tree6b97c2a4ad9c2f431a5f54937b11321d20917d45 /Source
parent7b194759116ac0e45416a80eda410f8918dd0813 (diff)
parent652b323715b0bc8469b0a048b3a6e9942ba7f40a (diff)
Merge pull request #5073 from JosJuice/fix-volumeisvalid
Fix VolumeIsValid being referenced even though it was deleted
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/ConfigManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/ConfigManager.cpp b/Source/Core/Core/ConfigManager.cpp
index 93f5ffa438..d96cb2073a 100644
--- a/Source/Core/Core/ConfigManager.cpp
+++ b/Source/Core/Core/ConfigManager.cpp
@@ -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();