From ac3bf7ad0bdc4c600ac4ca1538e4b46e177cb207 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 4 Feb 2017 10:11:36 +0100 Subject: [PATCH] DVDInterface: Assert IsDiscInside() in GetVolume() --- Source/Core/Core/HW/DVDInterface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/HW/DVDInterface.cpp b/Source/Core/Core/HW/DVDInterface.cpp index 679ac51cf9..fd3092309f 100644 --- a/Source/Core/Core/HW/DVDInterface.cpp +++ b/Source/Core/Core/HW/DVDInterface.cpp @@ -478,6 +478,7 @@ void Shutdown() const DiscIO::IVolume& GetVolume() { + _assert_(IsDiscInside()); return *s_inserted_volume; }