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/Frame.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/Frame.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Frame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index b853384b22..de6c5cc141 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -124,7 +124,7 @@ void CRenderFrame::OnDropFiles(wxDropFilesEvent& event) } else { - DVDInterface::ChangeDisc(filepath); + DVDInterface::ChangeDiscAsHost(filepath); } } |
