mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
デバイスID比較結果を正しく返すように
同一本体書き戻し時のシーケンス修正 git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@264 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
598bcca47c
commit
a8c57376c4
@ -304,7 +304,6 @@ void CheckAccountDeleted(common::HardwareStateManager& manager, ::std::vector<st
|
|||||||
// 同一本体下記書き戻しの場合はアカウント削除しない
|
// 同一本体下記書き戻しの場合はアカウント削除しない
|
||||||
if(EqualsDeviceIdFileandDeviceId(manager).IsSuccess())
|
if(EqualsDeviceIdFileandDeviceId(manager).IsSuccess())
|
||||||
{
|
{
|
||||||
CreateDeleteAccountFinishedFile();
|
|
||||||
// IVS専用モードならばIVSを取得させる
|
// IVS専用モードならばIVSを取得させる
|
||||||
if(s_GetIvsOnlyMode)
|
if(s_GetIvsOnlyMode)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -277,10 +277,11 @@ nn::Result EqualsDeviceIdFileandDeviceId(common::HardwareStateManager& manager)
|
|||||||
{
|
{
|
||||||
result = nn::ResultSuccess();
|
result = nn::ResultSuccess();
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
result = nn::Result(nn::Result::LEVEL_STATUS, nn::Result::SUMMARY_INVALID_RESULT_VALUE,
|
result = nn::Result(nn::Result::LEVEL_STATUS, nn::Result::SUMMARY_INVALID_RESULT_VALUE,
|
||||||
nn::Result::MODULE_COMMON, nn::Result::DESCRIPTION_INVALID_RESULT_VALUE);
|
nn::Result::MODULE_COMMON, nn::Result::DESCRIPTION_INVALID_RESULT_VALUE);
|
||||||
return result;
|
}
|
||||||
}
|
}
|
||||||
common::HeapManager::GetHeap()->Free(buf);
|
common::HeapManager::GetHeap()->Free(buf);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user