diff options
| author | 2022-01-03 20:31:51 -0500 | |
|---|---|---|
| committer | 2022-01-03 20:47:26 -0500 | |
| commit | c17938f96ba9a3f2571387b21328743db8050250 (patch) | |
| tree | 23c8280d1aaf458a1abbad272e8facc3bd58eb36 /src/core/core.cpp | |
| parent | Revert "Merge pull request #7668 from ameerj/fence-stop-token" (diff) | |
| download | yuzu-c17938f96ba9a3f2571387b21328743db8050250.tar.gz yuzu-c17938f96ba9a3f2571387b21328743db8050250.tar.xz yuzu-c17938f96ba9a3f2571387b21328743db8050250.zip | |
gpu: Add shut down method to synchronize threads before destruction
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index aa96f709b..3f9a7f44b 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -317,6 +317,8 @@ struct System::Impl { | |||
| 317 | is_powered_on = false; | 317 | is_powered_on = false; |
| 318 | exit_lock = false; | 318 | exit_lock = false; |
| 319 | 319 | ||
| 320 | gpu_core->NotifyShutdown(); | ||
| 321 | |||
| 320 | services.reset(); | 322 | services.reset(); |
| 321 | service_manager.reset(); | 323 | service_manager.reset(); |
| 322 | cheat_engine.reset(); | 324 | cheat_engine.reset(); |