diff options
Diffstat (limited to 'src/core/core.cpp')
| -rw-r--r-- | src/core/core.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index c53d122be..0eb0c0dca 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp | |||
| @@ -268,7 +268,9 @@ struct System::Impl { | |||
| 268 | is_powered_on = false; | 268 | is_powered_on = false; |
| 269 | exit_lock = false; | 269 | exit_lock = false; |
| 270 | 270 | ||
| 271 | gpu_core->WaitIdle(); | 271 | if (gpu_core) { |
| 272 | gpu_core->WaitIdle(); | ||
| 273 | } | ||
| 272 | 274 | ||
| 273 | // Shutdown emulation session | 275 | // Shutdown emulation session |
| 274 | renderer.reset(); | 276 | renderer.reset(); |