HW/EXI: Refactor ExpansionInterface to class.

This commit is contained in:
Admiral H. Curtiss
2023-03-10 20:16:37 +01:00
parent e4df388128
commit bf95d4012f
13 changed files with 137 additions and 146 deletions

View File

@ -783,7 +783,7 @@ static bool PauseAndLock(Core::System& system, bool do_lock, bool unpause_on_unl
was_unpaused = system.GetCPU().PauseAndLock(true);
}
ExpansionInterface::PauseAndLock(do_lock, false);
system.GetExpansionInterface().PauseAndLock(do_lock, false);
// audio has to come after CPU, because CPU thread can wait for audio thread (m_throttle).
system.GetDSP().GetDSPEmulator()->PauseAndLock(do_lock, false);