mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-20 11:03:56 +00:00
video_core: gpu_thread: Do not wait when system is powered down.
This commit is contained in:
@@ -135,7 +135,8 @@ void ThreadManager::FlushAndInvalidateRegion(VAddr addr, u64 size) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void ThreadManager::WaitIdle() const {
|
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