DVDInterface: Assert IsDiscInside() in GetVolume()
This commit is contained in:
parent
a176bf0229
commit
ac3bf7ad0b
|
@ -478,6 +478,7 @@ void Shutdown()
|
|||
|
||||
const DiscIO::IVolume& GetVolume()
|
||||
{
|
||||
_assert_(IsDiscInside());
|
||||
return *s_inserted_volume;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue