diff options
Diffstat (limited to 'src/citra_qt')
| -rw-r--r-- | src/citra_qt/main.cpp | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp index 929392b14..8322e2305 100644 --- a/src/citra_qt/main.cpp +++ b/src/citra_qt/main.cpp @@ -295,7 +295,6 @@ bool GMainWindow::LoadROM(const std::string& filename) {      Loader::ResultStatus result = app_loader->Load();      if (Loader::ResultStatus::Success != result) {          LOG_CRITICAL(Frontend, "Failed to load ROM!"); -        System::Shutdown();          switch (result) {          case Loader::ResultStatus::ErrorEncrypted: { @@ -335,8 +334,10 @@ void GMainWindow::BootGame(const std::string& filename) {      if (!InitializeSystem())          return; -    if (!LoadROM(filename)) +    if (!LoadROM(filename)) { +        System::Shutdown();          return; +    }      // Create and start the emulation thread      emu_thread = std::make_unique<EmuThread>(render_window); | 
