mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
HW/DVDInterface: Refactor to class.
This commit is contained in:
@ -317,7 +317,7 @@ static const DiscIO::VolumeDisc* SetDisc(std::unique_ptr<DiscIO::VolumeDisc> dis
|
||||
std::vector<std::string> auto_disc_change_paths = {})
|
||||
{
|
||||
const DiscIO::VolumeDisc* pointer = disc.get();
|
||||
DVDInterface::SetDisc(std::move(disc), auto_disc_change_paths);
|
||||
Core::System::GetInstance().GetDVDInterface().SetDisc(std::move(disc), auto_disc_change_paths);
|
||||
return pointer;
|
||||
}
|
||||
|
||||
@ -344,7 +344,7 @@ bool CBoot::DVDReadDiscID(Core::System& system, const DiscIO::VolumeDisc& disc,
|
||||
|
||||
// Transition out of the DiscIdNotRead state (which the drive should be in at this point,
|
||||
// on the assumption that this is only used for the first read)
|
||||
DVDInterface::SetDriveState(DVDInterface::DriveState::ReadyNoReadsMade);
|
||||
system.GetDVDInterface().SetDriveState(DVDInterface::DriveState::ReadyNoReadsMade);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user