From 1da866d7de03e85fac11c55d2e40ed26b570eb76 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Tue, 5 Jul 2016 18:20:24 +0200 Subject: 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. --- Source/Core/DolphinWX/FrameTools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinWX/FrameTools.cpp') 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)); } } -- cgit v1.2.3