System: Use existing CD media when loading state where possible

This commit is contained in:
Connor McLaughlin
2020-07-22 00:02:37 +10:00
parent 0398c6cb4a
commit 93528db388
5 changed files with 19 additions and 11 deletions

View File

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