mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
TWLタイトルダウンロード時のResultを正しく返すように
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@299 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
31b0d90fdc
commit
0b608d15d3
@ -186,10 +186,8 @@ void WaitShopOperationAndFinalize()
|
||||
|
||||
void TitleDownloader::Start()
|
||||
{
|
||||
nn::Result result;
|
||||
|
||||
result = ListUp();
|
||||
if(result.IsFailure())
|
||||
m_Result = ListUp();
|
||||
if(m_Result.IsFailure())
|
||||
{
|
||||
return;
|
||||
}
|
||||
@ -201,9 +199,9 @@ void TitleDownloader::Start()
|
||||
WaitShopOperationAndFinalize();
|
||||
|
||||
nn::nim::TitleConfig config;
|
||||
result = GetTitleConfig(m_ProgramIdList[i], &config);
|
||||
COMMON_LOGGER_RESULT_IF_FAILED_WITH_LINE(result);
|
||||
if (result.IsSuccess())
|
||||
m_Result = GetTitleConfig(m_ProgramIdList[i], &config);
|
||||
COMMON_LOGGER_RESULT_IF_FAILED_WITH_LINE(m_Result);
|
||||
if (m_Result.IsSuccess())
|
||||
{
|
||||
StartShopOperationSingle(SHOP_OPERATION_DOWNLOAD_TITLE, config);
|
||||
WaitShopOperationAndFinalize();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user