summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar liushuyu2019-03-10 18:06:49 -0600
committerGravatar fearlessTobi2019-03-15 16:10:21 +0100
commit59f16f2e0292f2c8d51f059084c5a6f68727c391 (patch)
treec98abb5cc9b09bca474edcfaa3f6a9a80c633c58 /src
parentMerge pull request #2233 from ReinUsesLisp/morton-cleanup (diff)
downloadyuzu-59f16f2e0292f2c8d51f059084c5a6f68727c391.tar.gz
yuzu-59f16f2e0292f2c8d51f059084c5a6f68727c391.tar.xz
yuzu-59f16f2e0292f2c8d51f059084c5a6f68727c391.zip
frontend: qt: fix a freeze where if you click on entry in the game list too fast, citra will hang
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/bootmanager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index d2c97b1f8..05ad19e1d 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -24,8 +24,6 @@ void EmuThread::run() {
24 24
25 MicroProfileOnThreadCreate("EmuThread"); 25 MicroProfileOnThreadCreate("EmuThread");
26 26
27 stop_run = false;
28
29 emit LoadProgress(VideoCore::LoadCallbackStage::Prepare, 0, 0); 27 emit LoadProgress(VideoCore::LoadCallbackStage::Prepare, 0, 0);
30 28
31 Core::System::GetInstance().Renderer().Rasterizer().LoadDiskResources( 29 Core::System::GetInstance().Renderer().Rasterizer().LoadDiskResources(
@@ -40,7 +38,7 @@ void EmuThread::run() {
40 render_window->DoneCurrent(); 38 render_window->DoneCurrent();
41 } 39 }
42 40
43 // holds whether the cpu was running during the last iteration, 41 // Holds whether the cpu was running during the last iteration,
44 // so that the DebugModeLeft signal can be emitted before the 42 // so that the DebugModeLeft signal can be emitted before the
45 // next execution step 43 // next execution step
46 bool was_active = false; 44 bool was_active = false;