mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-03 13:14:34 +01:00
video_core: gpu_thread: Do not wait when system is powered down.
This commit is contained in:
1 parent
1e370cff0e
commit
db49c273db
1 file changed
+2
-1
@@ -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()) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user