From d0667ebaadd1971620deb0900f3ef6b4802ca37c Mon Sep 17 00:00:00 2001 From: Dario Date: Tue, 4 Feb 2025 20:08:22 -0300 Subject: [PATCH] Nuclear exits. --- UnleashedRecomp/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UnleashedRecomp/main.cpp b/UnleashedRecomp/main.cpp index 012b9b23..6c4c80d2 100644 --- a/UnleashedRecomp/main.cpp +++ b/UnleashedRecomp/main.cpp @@ -203,12 +203,12 @@ int main(int argc, char *argv[]) if (!Video::CreateHostDevice(sdlVideoDriver)) { SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, GameWindow::GetTitle(), Localise("Video_BackendError").c_str(), GameWindow::s_pWindow); - return 1; + std::_Exit(1); } if (!InstallerWizard::Run(GAME_INSTALL_DIRECTORY, isGameInstalled && forceDLCInstaller)) { - return 1; + std::_Exit(1); } } @@ -223,7 +223,7 @@ int main(int argc, char *argv[]) if (!Video::CreateHostDevice(sdlVideoDriver)) { SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, GameWindow::GetTitle(), Localise("Video_BackendError").c_str(), GameWindow::s_pWindow); - return 1; + std::_Exit(1); } }