Basic CD image loading

This commit is contained in:
Connor McLaughlin 2019-09-20 20:14:00 +10:00
commit ad652c47ed
12 changed files with 260 additions and 8 deletions

View file

@ -213,3 +213,18 @@ void System::SetPadDevice(u32 slot, std::shared_ptr<PadDevice> dev)
{
m_pad->SetDevice(slot, std::move(dev));
}
bool System::HasMedia() const
{
return m_cdrom->HasMedia();
}
bool System::InsertMedia(const char* path)
{
return m_cdrom->InsertMedia(path);
}
void System::RemoveMedia()
{
m_cdrom->RemoveMedia();
}