mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
アカウント削除時に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:
parent
e60a75f616
commit
8b3e37145f
@ -270,7 +270,7 @@ void ShopOperationConnect(ECAccountInfo* pAccountInfo)
|
|||||||
NN_LOG("\n");
|
NN_LOG("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void ShopOperationConnect()
|
void ShopOperationInitialize()
|
||||||
{
|
{
|
||||||
nn::Result result = nn::ResultSuccess();
|
nn::Result result = nn::ResultSuccess();
|
||||||
|
|
||||||
@ -292,7 +292,11 @@ void ShopOperationConnect()
|
|||||||
NN_LOG("nim::Shop::SetTIN\n");
|
NN_LOG("nim::Shop::SetTIN\n");
|
||||||
result = nn::nim::Shop::SetTin(CONSOLE_RESTORE_TIN);
|
result = nn::nim::Shop::SetTin(CONSOLE_RESTORE_TIN);
|
||||||
NIM_SHOP_RESULT_CHECK(result);
|
NIM_SHOP_RESULT_CHECK(result);
|
||||||
|
}
|
||||||
|
|
||||||
|
void ShopOperationConnect()
|
||||||
|
{
|
||||||
|
ShopOperationInitialize();
|
||||||
|
|
||||||
/* -------------------------------------------------------------------
|
/* -------------------------------------------------------------------
|
||||||
Connect
|
Connect
|
||||||
@ -361,6 +365,7 @@ void ShopOperationSingleThreadFunc(ShopThreadParam param)
|
|||||||
|
|
||||||
case SHOP_OPERATION_UNREGISTER:
|
case SHOP_OPERATION_UNREGISTER:
|
||||||
{
|
{
|
||||||
|
ShopOperationInitialize();
|
||||||
ECAccountInfo* pAccountInfo;
|
ECAccountInfo* pAccountInfo;
|
||||||
ShopOperationConnect(pAccountInfo);
|
ShopOperationConnect(pAccountInfo);
|
||||||
if (pAccountInfo->accountStatus && pAccountInfo->accountStatus[0] == 'R')
|
if (pAccountInfo->accountStatus && pAccountInfo->accountStatus[0] == 'R')
|
||||||
@ -399,7 +404,9 @@ void ShopOperationSingleThreadFunc(ShopThreadParam param)
|
|||||||
|
|
||||||
/* -------------------------------------------------------------------
|
/* -------------------------------------------------------------------
|
||||||
GetProgress
|
GetProgress
|
||||||
-------------------------------------------------------------------- */NN_LOG("nim::Shop::GetProgress()\n");
|
-------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
NN_LOG("nim::Shop::GetProgress()\n");
|
||||||
nn::nim::TitleProgress before;
|
nn::nim::TitleProgress before;
|
||||||
nn::nim::TitleProgress latest;
|
nn::nim::TitleProgress latest;
|
||||||
while (true)
|
while (true)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user