Browse Source
Merge pull request #2239 from FearlessTobi/port-4684
Port citra-emu/citra#4684: "frontend: qt: fix a freeze where if you click on entry in the game list too fast, citra will hang"
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
3 deletions
-
src/yuzu/bootmanager.cpp
|
|
@ -24,8 +24,6 @@ void EmuThread::run() { |
|
|
|
|
|
|
|
|
MicroProfileOnThreadCreate("EmuThread"); |
|
|
MicroProfileOnThreadCreate("EmuThread"); |
|
|
|
|
|
|
|
|
stop_run = false; |
|
|
|
|
|
|
|
|
|
|
|
emit LoadProgress(VideoCore::LoadCallbackStage::Prepare, 0, 0); |
|
|
emit LoadProgress(VideoCore::LoadCallbackStage::Prepare, 0, 0); |
|
|
|
|
|
|
|
|
Core::System::GetInstance().Renderer().Rasterizer().LoadDiskResources( |
|
|
Core::System::GetInstance().Renderer().Rasterizer().LoadDiskResources( |
|
|
@ -40,7 +38,7 @@ void EmuThread::run() { |
|
|
render_window->DoneCurrent(); |
|
|
render_window->DoneCurrent(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// holds whether the cpu was running during the last iteration,
|
|
|
|
|
|
|
|
|
// Holds whether the cpu was running during the last iteration,
|
|
|
// so that the DebugModeLeft signal can be emitted before the
|
|
|
// so that the DebugModeLeft signal can be emitted before the
|
|
|
// next execution step
|
|
|
// next execution step
|
|
|
bool was_active = false; |
|
|
bool was_active = false; |
|
|
|