mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
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:
parent
69bf05b302
commit
1da866d7de
6 changed files with 19 additions and 16 deletions
|
@ -691,7 +691,7 @@ void CFrame::DoOpen(bool Boot)
|
|||
}
|
||||
else
|
||||
{
|
||||
DVDInterface::ChangeDisc(WxStrToStr(path));
|
||||
DVDInterface::ChangeDiscAsHost(WxStrToStr(path));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue