mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-06 19:01:36 +03:00
Remove DVDInterface::ChangeDiscAsHost
There isn't much point in keeping this utility function around now that RunAsCPUThread provides a simple way of running things on the CPU thread.
This commit is contained in:
parent
29bfdbb36b
commit
b6bc3bc7c9
7 changed files with 9 additions and 16 deletions
|
@ -1557,7 +1557,7 @@ void GameListCtrl::OnChangeDisc(wxCommandEvent& WXUNUSED(event))
|
|||
const GameListItem* iso = GetSelectedISO();
|
||||
if (!iso || !Core::IsRunning())
|
||||
return;
|
||||
DVDInterface::ChangeDiscAsHost(WxStrToStr(iso->GetFileName()));
|
||||
Core::RunAsCPUThread([&iso] { DVDInterface::ChangeDisc(WxStrToStr(iso->GetFileName())); });
|
||||
}
|
||||
|
||||
void GameListCtrl::OnSize(wxSizeEvent& event)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue