mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 23:29:44 -06:00
DVDInterface: Assert IsDiscInside() in GetVolume()
This commit is contained in:
@ -478,6 +478,7 @@ void Shutdown()
|
|||||||
|
|
||||||
const DiscIO::IVolume& GetVolume()
|
const DiscIO::IVolume& GetVolume()
|
||||||
{
|
{
|
||||||
|
_assert_(IsDiscInside());
|
||||||
return *s_inserted_volume;
|
return *s_inserted_volume;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user