mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
TWLユーザ領域を初期化するように
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@340 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
c5d2ba4169
commit
0a3ec6a87e
@ -616,6 +616,8 @@ void InitializeFileSystem()
|
||||
nn::fs::Unmount(common::TWL_ARCHIVE_NAME_TABLE[i]);
|
||||
}
|
||||
|
||||
result = nn::am::DeleteAllTwlUserPrograms();
|
||||
COMMON_LOGGER_RESULT_IF_FAILED_WITH_LINE(result);
|
||||
nn::fs::InitializeCtrFileSystem();
|
||||
}
|
||||
|
||||
|
||||
@ -380,10 +380,10 @@ void ShopOperationUnregisterCore(bool force)
|
||||
ECAccountInfo* pAccountInfo;
|
||||
result = ShopOperationConnect(&pAccountInfo);
|
||||
NIM_SHOP_RESULT_CHECK(result);
|
||||
if(force)
|
||||
if (force)
|
||||
{
|
||||
if (pAccountInfo->accountStatus && (pAccountInfo->accountStatus[0] == 'R' ||
|
||||
pAccountInfo->accountStatus[0] == 'T'))
|
||||
if (pAccountInfo->accountStatus && (pAccountInfo->accountStatus[0] == 'R' || pAccountInfo->accountStatus[0]
|
||||
== 'T'))
|
||||
{
|
||||
COMMON_LOGGER_DETAIL("nim::Shop::Unregister\n");
|
||||
result = nn::nim::Shop::Unregister();
|
||||
@ -392,7 +392,7 @@ void ShopOperationUnregisterCore(bool force)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (pAccountInfo->accountStatus && (pAccountInfo->accountStatus[0] == 'R'))
|
||||
if (pAccountInfo->accountStatus && (pAccountInfo->accountStatus[0] == 'R'))
|
||||
{
|
||||
COMMON_LOGGER_DETAIL("nim::Shop::Unregister\n");
|
||||
result = nn::nim::Shop::Unregister();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user