diff options
Diffstat (limited to 'src/video_core/gpu_thread.cpp')
| -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) { | |||
| 135 | } | 135 | } |
| 136 | 136 | ||
| 137 | void ThreadManager::WaitIdle() const { | 137 | void ThreadManager::WaitIdle() const { |
| 138 | while (state.last_fence > state.signaled_fence.load(std::memory_order_relaxed)) { | 138 | while (state.last_fence > state.signaled_fence.load(std::memory_order_relaxed) && |
| 139 | system.IsPoweredOn()) { | ||
| 139 | } | 140 | } |
| 140 | } | 141 | } |
| 141 | 142 | ||