アクセスポイントがない場合にリトライが発生しなかったのを修正

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@300 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
N2614 2011-06-01 07:56:45 +00:00
parent 0b608d15d3
commit 35af526d26

View File

@ -538,15 +538,6 @@ void ShopOperationSingleTemplate(
{
FinalizeShopOperationSingle();
// エラーがあったら表示する
if (GetShopOperationSingleResult().IsFailure())
{
// APが見つからない
if (GetUpdateResult() == nn::ac::ResultNotFoundAccessPoint())
{
COMMON_LOGGER("No Access Point Found!");
}
}
if (GetShopOperationSingleResult().IsSuccess())
{
ShopOperationSuccess(op, logMessage, nextState);
@ -575,6 +566,15 @@ void ShopOperationSingleTemplate(
}
else
{
if (GetShopOperationSingleResult().IsFailure())
{
// APが見つからない
if (GetUpdateResult() == nn::ac::ResultNotFoundAccessPoint())
{
COMMON_LOGGER("No Access Point Found!");
}
}
if (s_ShopOperationRetryCount[op]++ < RETRY_MAX)
{
// エラーのためやり直す