summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-05-01 22:53:16 +0200
committerbunnei <bunneidev@gmail.com>2015-05-02 00:35:56 +0200
commit046dd6e3ef3f4b4da2dd2eef0bdfe0f6fb28b1d8 (patch)
treed7057cf9926c822c12cc7d82814a252db79ca600 /src/citra_qt/main.cpp
parentQt: Disable "Start" unless we are paused (it otherwise has no meaning and causes a crash). (diff)
downloadyuzu-046dd6e3ef3f4b4da2dd2eef0bdfe0f6fb28b1d8.tar
yuzu-046dd6e3ef3f4b4da2dd2eef0bdfe0f6fb28b1d8.tar.gz
yuzu-046dd6e3ef3f4b4da2dd2eef0bdfe0f6fb28b1d8.tar.bz2
yuzu-046dd6e3ef3f4b4da2dd2eef0bdfe0f6fb28b1d8.tar.lz
yuzu-046dd6e3ef3f4b4da2dd2eef0bdfe0f6fb28b1d8.tar.xz
yuzu-046dd6e3ef3f4b4da2dd2eef0bdfe0f6fb28b1d8.tar.zst
yuzu-046dd6e3ef3f4b4da2dd2eef0bdfe0f6fb28b1d8.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index a3e98abfe..dd0e4de8f 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -338,6 +338,8 @@ void GMainWindow::closeEvent(QCloseEvent* event)
settings.setValue("firstStart", false);
SaveHotkeys(settings);
+ ShutdownGame();
+
render_window->close();
QWidget::closeEvent(event);