From 5de906e948899f8048078b3b25af33a3fac0761e Mon Sep 17 00:00:00 2001 From: Dario Date: Wed, 4 Dec 2024 10:06:55 -0300 Subject: [PATCH] Come back check space. --- UnleashedRecomp/ui/installer_wizard.cpp | 11 +++++++---- UnleashedRecompResources | 2 +- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/UnleashedRecomp/ui/installer_wizard.cpp b/UnleashedRecomp/ui/installer_wizard.cpp index 5a078f5b..d99f7943 100644 --- a/UnleashedRecomp/ui/installer_wizard.cpp +++ b/UnleashedRecomp/ui/installer_wizard.cpp @@ -979,10 +979,13 @@ static void DrawNextButton() } else { - // Start the installer outright, this switches to the right page on its own. - InstallerStart(); + g_currentPage = WizardPage::CheckSpace; } } + else if (g_currentPage == WizardPage::CheckSpace) + { + InstallerStart(); + } else if (g_currentPage == WizardPage::InstallSucceeded) { g_isDisappearing = true; @@ -1104,8 +1107,8 @@ static void DrawMessagePrompt() { if (g_currentMessagePromptConfirmation && (g_currentMessageResult == 0) && (g_currentPage == WizardPage::SelectDLC)) { - // If user confirms the message prompt that they wish to skip installing the DLC, start the installer. - InstallerStart(); + // If user confirms the message prompt that they wish to skip installing the DLC, proceed to the next step. + g_currentPage = WizardPage::CheckSpace; } g_currentMessagePrompt.clear(); diff --git a/UnleashedRecompResources b/UnleashedRecompResources index 5b5ad279..771f6705 160000 --- a/UnleashedRecompResources +++ b/UnleashedRecompResources @@ -1 +1 @@ -Subproject commit 5b5ad2794a2c78d50dc6a85e71954fb6b9e80ae2 +Subproject commit 771f670594a2d274bfb47a209017b2616ed423cf