Merge pull request #3980 from JosJuice/changedisc-threading-simplification
DVDInterface: Simplify calling ChangeDisc from CPU thread
This commit is contained in:
@@ -132,7 +132,7 @@ void CRenderFrame::OnDropFiles(wxDropFilesEvent& event)
|
||||
}
|
||||
else
|
||||
{
|
||||
DVDInterface::ChangeDisc(filepath);
|
||||
DVDInterface::ChangeDiscAsHost(filepath);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -691,7 +691,7 @@ void CFrame::DoOpen(bool Boot)
|
||||
}
|
||||
else
|
||||
{
|
||||
DVDInterface::ChangeDisc(WxStrToStr(path));
|
||||
DVDInterface::ChangeDiscAsHost(WxStrToStr(path));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user