TWLタイトルダウンロードチェック間隔を長く

accountStatusが'T'の時もアカウント削除するように


git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@269 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
N2614 2011-05-24 08:02:33 +00:00
parent 0f0a440c55
commit 8f878dc3ee

View File

@ -402,7 +402,8 @@ void ShopOperationSingleThreadFunc(ShopThreadParam param)
ECAccountInfo* pAccountInfo;
result = ShopOperationConnect(&pAccountInfo);
NIM_SHOP_RESULT_CHECK(result);
if (pAccountInfo->accountStatus && pAccountInfo->accountStatus[0] == 'R')
if (pAccountInfo->accountStatus && (pAccountInfo->accountStatus[0] == 'R'
|| (pAccountInfo->accountStatus[0] == 'T')))
{
/* ---------------------------------------------------------------
Unregister
@ -483,7 +484,7 @@ void ShopOperationSingleThreadFunc(ShopThreadParam param)
// あまりにも頻繁に GetProgress を呼ぶと、ダウンロード処理の速度に
// 影響が出てしまいます。少なくとも数フレーム以上の間隔をあけて
// GetProgress することを推奨します。
nn::os::Thread::Sleep(nn::fnd::TimeSpan::FromMilliSeconds(50));
nn::os::Thread::Sleep(nn::fnd::TimeSpan::FromMilliSeconds(100));
}
}
break;