diff options
author | bunnei <bunneidev@gmail.com> | 2015-05-13 05:14:24 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-05-13 05:14:24 +0200 |
commit | c3bd7979175de01b7392cb8de48fd1caa6ce89cb (patch) | |
tree | 41f1757af346bbfcbbe75597d9c419cd08395198 /src/citra_qt | |
parent | Merge pull request #760 from yuriks/gpu-profile (diff) | |
download | yuzu-c3bd7979175de01b7392cb8de48fd1caa6ce89cb.tar yuzu-c3bd7979175de01b7392cb8de48fd1caa6ce89cb.tar.gz yuzu-c3bd7979175de01b7392cb8de48fd1caa6ce89cb.tar.bz2 yuzu-c3bd7979175de01b7392cb8de48fd1caa6ce89cb.tar.lz yuzu-c3bd7979175de01b7392cb8de48fd1caa6ce89cb.tar.xz yuzu-c3bd7979175de01b7392cb8de48fd1caa6ce89cb.tar.zst yuzu-c3bd7979175de01b7392cb8de48fd1caa6ce89cb.zip |
Diffstat (limited to 'src/citra_qt')
-rw-r--r-- | src/citra_qt/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index f115c5b6a..7b028e323 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -337,7 +337,9 @@ void GMainWindow::closeEvent(QCloseEvent* event) settings.setValue("firstStart", false); SaveHotkeys(settings); - ShutdownGame(); + // Shutdown session if the emu thread is active... + if (emu_thread != nullptr) + ShutdownGame(); render_window->close(); |