DVDInterface: Simplify calling ChangeDisc from CPU thread

When Movie was calling ChangeDisc, it was moving execution to
the host thread just to then make the host thread the CPU thread.
We can simply run the code directly on the CPU thread instead.
This commit is contained in:
JosJuice
2016-07-05 18:20:24 +02:00
parent 69bf05b302
commit 1da866d7de
6 changed files with 19 additions and 16 deletions

View File

@ -124,7 +124,7 @@ void CRenderFrame::OnDropFiles(wxDropFilesEvent& event)
}
else
{
DVDInterface::ChangeDisc(filepath);
DVDInterface::ChangeDiscAsHost(filepath);
}
}