diff options
| author | JosJuice <josjuice@gmail.com> | 2016-07-05 18:20:24 +0200 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2016-07-05 18:20:24 +0200 |
| commit | 1da866d7de03e85fac11c55d2e40ed26b570eb76 (patch) | |
| tree | e6e6bc7db02d4945e0ae4bc7659ee1b908448145 /Source/Core/DolphinWX/FrameTools.cpp | |
| parent | 69bf05b302f06cb3935694e00270098c6e3b9d7a (diff) | |
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.
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 44de0e8e99..68bd5d6754 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -691,7 +691,7 @@ void CFrame::DoOpen(bool Boot) } else { - DVDInterface::ChangeDisc(WxStrToStr(path)); + DVDInterface::ChangeDiscAsHost(WxStrToStr(path)); } } |
