mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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:
@ -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