CDROM: Fix crash when loading save state from different system

This commit is contained in:
Connor McLaughlin
2020-04-08 13:08:27 +10:00
parent 9851b75368
commit 08567fedf4
3 changed files with 11 additions and 4 deletions

View File

@ -31,7 +31,7 @@ public:
bool HasMedia() const;
std::string GetMediaFileName() const;
void InsertMedia(std::unique_ptr<CDImage> media);
void RemoveMedia();
void RemoveMedia(bool force = false);
// I/O
u8 ReadRegister(u32 offset);