Merge pull request #3980 from JosJuice/changedisc-threading-simplification

DVDInterface: Simplify calling ChangeDisc from CPU thread
This commit is contained in:
Matthew Parlane
2016-07-13 22:48:47 +12:00
committed by GitHub
6 changed files with 25 additions and 24 deletions

View File

@ -1331,7 +1331,7 @@ void CGameListCtrl::OnChangeDisc(wxCommandEvent& WXUNUSED(event))
const GameListItem* iso = GetSelectedISO();
if (!iso || !Core::IsRunning())
return;
DVDInterface::ChangeDisc(WxStrToStr(iso->GetFileName()));
DVDInterface::ChangeDiscAsHost(WxStrToStr(iso->GetFileName()));
}
void CGameListCtrl::OnSize(wxSizeEvent& event)