アカウント削除時にInitializeしていなかったのを修正

git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@236 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
N2614 2011-04-27 07:41:31 +00:00
parent e60a75f616
commit 8b3e37145f

View File

@ -270,7 +270,7 @@ void ShopOperationConnect(ECAccountInfo* pAccountInfo)
NN_LOG("\n");
}
void ShopOperationConnect()
void ShopOperationInitialize()
{
nn::Result result = nn::ResultSuccess();
@ -292,7 +292,11 @@ void ShopOperationConnect()
NN_LOG("nim::Shop::SetTIN\n");
result = nn::nim::Shop::SetTin(CONSOLE_RESTORE_TIN);
NIM_SHOP_RESULT_CHECK(result);
}
void ShopOperationConnect()
{
ShopOperationInitialize();
/* -------------------------------------------------------------------
Connect
@ -361,6 +365,7 @@ void ShopOperationSingleThreadFunc(ShopThreadParam param)
case SHOP_OPERATION_UNREGISTER:
{
ShopOperationInitialize();
ECAccountInfo* pAccountInfo;
ShopOperationConnect(pAccountInfo);
if (pAccountInfo->accountStatus && pAccountInfo->accountStatus[0] == 'R')
@ -399,7 +404,9 @@ void ShopOperationSingleThreadFunc(ShopThreadParam param)
/* -------------------------------------------------------------------
GetProgress
-------------------------------------------------------------------- */NN_LOG("nim::Shop::GetProgress()\n");
-------------------------------------------------------------------- */
NN_LOG("nim::Shop::GetProgress()\n");
nn::nim::TitleProgress before;
nn::nim::TitleProgress latest;
while (true)