mirror of
https://github.com/PabloMK7/citra.git
synced 2024-11-26 01:14:04 +00:00
Qt: Shutdown game on emulator close event.
This commit is contained in:
parent
85cc81d8cc
commit
046dd6e3ef
1 changed files with 2 additions and 0 deletions
|
@ -338,6 +338,8 @@ void GMainWindow::closeEvent(QCloseEvent* event)
|
||||||
settings.setValue("firstStart", false);
|
settings.setValue("firstStart", false);
|
||||||
SaveHotkeys(settings);
|
SaveHotkeys(settings);
|
||||||
|
|
||||||
|
ShutdownGame();
|
||||||
|
|
||||||
render_window->close();
|
render_window->close();
|
||||||
|
|
||||||
QWidget::closeEvent(event);
|
QWidget::closeEvent(event);
|
||||||
|
|
Loading…
Reference in a new issue