Skip to content

Commit 027fddd

Browse files
committed
Fix installer UI lingering when booting the game
1 parent 9f477f3 commit 027fddd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

MarathonRecomp/ui/installer_wizard.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,7 +1379,6 @@ bool InstallerWizard::Run(std::filesystem::path installPath, bool skipGame)
13791379
}
13801380

13811381
SetCurrentPage(g_firstPage);
1382-
13831382
GameWindow::SetFullscreenCursorVisibility(true);
13841383

13851384
s_isVisible = true;
@@ -1394,11 +1393,12 @@ bool InstallerWizard::Run(std::filesystem::path installPath, bool skipGame)
13941393
Video::Present();
13951394
}
13961395

1396+
Fader::FadeIn(0);
1397+
ButtonWindow::Close();
13971398
GameWindow::SetFullscreenCursorVisibility(false);
1398-
13991399
NFD_Quit();
1400-
InstallerWizard::Shutdown();
14011400
EmbeddedPlayer::Shutdown();
1401+
InstallerWizard::Shutdown();
14021402

14031403
return !g_isQuitting;
14041404
}

0 commit comments

Comments
 (0)