DVDInterface: Assert IsDiscInside() in GetVolume()
This commit is contained in:
1 parent
a176bf0229
commit
ac3bf7ad0b
1 file changed
+1
@@ -478,6 +478,7 @@ void Shutdown()
|
||||
|
||||
const DiscIO::IVolume& GetVolume()
|
||||
{
|
||||
_assert_(IsDiscInside());
|
||||
return *s_inserted_volume;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user