DVDInterface: Assert IsDiscInside() in GetVolume()

This commit is contained in:
JosJuice 2017-02-04 10:11:36 +01:00
parent a176bf0229
commit ac3bf7ad0b
1 changed files with 1 additions and 0 deletions

View File

@ -478,6 +478,7 @@ void Shutdown()
const DiscIO::IVolume& GetVolume()
{
_assert_(IsDiscInside());
return *s_inserted_volume;
}