Browse Source

Qt: Shutdown emulation session only if EmuThread exists.

pull/15/merge
bunnei 11 years ago
parent
commit
c3bd797917
  1. 4
      src/citra_qt/main.cpp

4
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();

Loading…
Cancel
Save