DVDInterface: Assert IsDiscInside() in GetVolume()

This commit is contained in:
JosJuice committed 2017-03-08 19:27:04 +01:00
1 parent a176bf0229
commit ac3bf7ad0b
1 file changed
+1
+1
View File
@@ -478,6 +478,7 @@ void Shutdown()
const DiscIO::IVolume& GetVolume()
{
_assert_(IsDiscInside());
return *s_inserted_volume;
}