mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
DVDInterface: Modernize With CPUThreadGuard
This commit is contained in:
@ -879,9 +879,8 @@ void GameList::ChangeDisc()
|
||||
if (!game)
|
||||
return;
|
||||
|
||||
Core::RunAsCPUThread([file_path = game->GetFilePath()] {
|
||||
Core::System::GetInstance().GetDVDInterface().ChangeDisc(file_path);
|
||||
});
|
||||
auto& system = Core::System::GetInstance();
|
||||
system.GetDVDInterface().ChangeDisc(Core::CPUThreadGuard{system}, game->GetFilePath());
|
||||
}
|
||||
|
||||
QAbstractItemView* GameList::GetActiveView() const
|
||||
|
Reference in New Issue
Block a user