diff options
| author | 2019-09-26 19:08:22 -0400 | |
|---|---|---|
| committer | 2019-10-04 19:59:53 -0400 | |
| commit | 3f104464dec13f9ba90eaca5dafca87ee4116a60 (patch) | |
| tree | 29d73dec1ba2a661a9930c63689973a65482ce3b /src/video_core/gpu_synch.h | |
| parent | Nvdrv: Correct Event setup in Nvdrv (diff) | |
| download | yuzu-3f104464dec13f9ba90eaca5dafca87ee4116a60.tar.gz yuzu-3f104464dec13f9ba90eaca5dafca87ee4116a60.tar.xz yuzu-3f104464dec13f9ba90eaca5dafca87ee4116a60.zip | |
Core: Wait for GPU to be idle before shutting down.
Diffstat (limited to 'src/video_core/gpu_synch.h')
| -rw-r--r-- | src/video_core/gpu_synch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/gpu_synch.h b/src/video_core/gpu_synch.h index 5eb1c461c..c71baee89 100644 --- a/src/video_core/gpu_synch.h +++ b/src/video_core/gpu_synch.h | |||
| @@ -24,6 +24,7 @@ public: | |||
| 24 | void FlushRegion(CacheAddr addr, u64 size) override; | 24 | void FlushRegion(CacheAddr addr, u64 size) override; |
| 25 | void InvalidateRegion(CacheAddr addr, u64 size) override; | 25 | void InvalidateRegion(CacheAddr addr, u64 size) override; |
| 26 | void FlushAndInvalidateRegion(CacheAddr addr, u64 size) override; | 26 | void FlushAndInvalidateRegion(CacheAddr addr, u64 size) override; |
| 27 | void WaitIdle() const override {} | ||
| 27 | 28 | ||
| 28 | protected: | 29 | protected: |
| 29 | void TriggerCpuInterrupt([[maybe_unused]] u32 syncpoint_id, | 30 | void TriggerCpuInterrupt([[maybe_unused]] u32 syncpoint_id, |