mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
DVDInterface: Assert IsDiscInside() in GetVolume()
This commit is contained in:
parent
a176bf0229
commit
ac3bf7ad0b
1 changed files with 1 additions and 0 deletions
|
@ -478,6 +478,7 @@ void Shutdown()
|
|||
|
||||
const DiscIO::IVolume& GetVolume()
|
||||
{
|
||||
_assert_(IsDiscInside());
|
||||
return *s_inserted_volume;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue