Core: Wait for GPU to be idle before shutting down.

This commit is contained in:
Fernando Sahmkow
2019-09-26 19:08:22 -04:00
committed by FernandoS27
parent 69fa2e6525
commit 3f104464de
7 changed files with 19 additions and 0 deletions

View File

@ -44,4 +44,8 @@ void GPUAsynch::TriggerCpuInterrupt(const u32 syncpoint_id, const u32 value) con
interrupt_manager.GPUInterruptSyncpt(syncpoint_id, value);
}
void GPUAsynch::WaitIdle() const {
gpu_thread.WaitIdle();
}
} // namespace VideoCommon