mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
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:
parent
0f0a440c55
commit
8f878dc3ee
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user