mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
AP設定を2回読まないように
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
This commit is contained in:
parent
084241d0e7
commit
968c16800a
@ -187,6 +187,7 @@ void ControlState(::std::vector<std::string>& 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<std::string>& 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<std::string>& operationMessage, bool& nextStep,
|
||||
}
|
||||
else
|
||||
{
|
||||
if(CheckAndReadAPSetting(operationMessage))
|
||||
if(validApSetting)
|
||||
{
|
||||
// 削除処理を行う
|
||||
needsErase = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user