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