From 968c16800ada0b43c3f1b91aea9595b83b208473 Mon Sep 17 00:00:00 2001 From: N2614 Date: Mon, 21 Feb 2011 02:01:58 +0000 Subject: [PATCH] =?UTF-8?q?AP=E8=A8=AD=E5=AE=9A=E3=82=922=E5=9B=9E?= =?UTF-8?q?=E8=AA=AD=E3=81=BE=E3=81=AA=E3=81=84=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@71 385bec56-5757-e545-9c3a-d8741f4650f1 --- trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp b/trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp index c2ca8dd..1c30417 100644 --- a/trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp +++ b/trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp @@ -187,6 +187,7 @@ void ControlState(::std::vector& operationMessage, bool& nextStep, bool error = false; bool needsUpdate = false; bool needsErase = false; + bool validApSetting = false; // SDカードが挿入されているか? if (nn::fs::IsSdmcInserted()) @@ -194,7 +195,7 @@ void ControlState(::std::vector& operationMessage, bool& nextStep, // SDカードにアップデート完了ファイルがあるか? if (ExistsUpdateCheckedFile()) { - CheckAndReadAPSetting(operationMessage); + validApSetting = CheckAndReadAPSetting(operationMessage); if (s_NupOnlyMode) { s_RestoreState = NUP_ONLY_WAIT_SD_EJECT; @@ -278,7 +279,7 @@ void ControlState(::std::vector& operationMessage, bool& nextStep, } else { - if(CheckAndReadAPSetting(operationMessage)) + if(validApSetting) { // 削除処理を行う needsErase = true;