mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
HW/DVDInterface: Refactor to class.
This commit is contained in:
@ -1274,9 +1274,9 @@ void PlayController(GCPadStatus* PadStatus, int controllerID)
|
||||
if (s_padState.disc)
|
||||
{
|
||||
Core::RunAsCPUThread([] {
|
||||
if (!DVDInterface::AutoChangeDisc())
|
||||
auto& system = Core::System::GetInstance();
|
||||
if (!system.GetDVDInterface().AutoChangeDisc())
|
||||
{
|
||||
auto& system = Core::System::GetInstance();
|
||||
system.GetCPU().Break();
|
||||
PanicAlertFmtT("Change the disc to {0}", s_discChange);
|
||||
}
|
||||
|
Reference in New Issue
Block a user