diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-12 10:37:06 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2020-12-29 01:33:48 +0100 |
commit | 4991620f899ce21bcde1e57f585fee4081e053d0 (patch) | |
tree | cfe8905c8bd5379b8549e901240c806439df5323 /src/video_core | |
parent | core: settings: Untangle multicore from asynchronous GPU. (diff) | |
download | yuzu-4991620f899ce21bcde1e57f585fee4081e053d0.tar yuzu-4991620f899ce21bcde1e57f585fee4081e053d0.tar.gz yuzu-4991620f899ce21bcde1e57f585fee4081e053d0.tar.bz2 yuzu-4991620f899ce21bcde1e57f585fee4081e053d0.tar.lz yuzu-4991620f899ce21bcde1e57f585fee4081e053d0.tar.xz yuzu-4991620f899ce21bcde1e57f585fee4081e053d0.tar.zst yuzu-4991620f899ce21bcde1e57f585fee4081e053d0.zip |
Diffstat (limited to 'src/video_core')
-rw-r--r-- | src/video_core/gpu_thread.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp index 56b9621b1..1e95d80c3 100644 --- a/src/video_core/gpu_thread.cpp +++ b/src/video_core/gpu_thread.cpp @@ -135,7 +135,8 @@ void ThreadManager::FlushAndInvalidateRegion(VAddr addr, u64 size) { } void ThreadManager::WaitIdle() const { - while (state.last_fence > state.signaled_fence.load(std::memory_order_relaxed)) { + while (state.last_fence > state.signaled_fence.load(std::memory_order_relaxed) && + system.IsPoweredOn()) { } } |