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:
1 parent
69bf05b302
commit
1da866d7de
6 files changed
+19
-16
No files matched your search
@@ -691,7 +691,7 @@ void CFrame::DoOpen(bool Boot)
|
||||
}
|
||||
else
|
||||
{
|
||||
DVDInterface::ChangeDisc(WxStrToStr(path));
|
||||
DVDInterface::ChangeDiscAsHost(WxStrToStr(path));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user