mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
真偽の間違いを修正
git-svn-id: file:///Volumes/Transfer/gigaleak_20231201/2020-05-23%20-%20ctr.7z%20+%20svn_v1.068.zip/ctr/svn/ctr_Repair@80 385bec56-5757-e545-9c3a-d8741f4650f1
This commit is contained in:
parent
581aa06236
commit
b197ffba28
@ -208,12 +208,10 @@ bool NeedsNup()
|
||||
{
|
||||
if(AlreadyExecutedNup())
|
||||
{
|
||||
NN_LOG("Need NUP\n");
|
||||
return common::ExistsUpdateCheckedFile();
|
||||
return !common::ExistsUpdateCheckedFile();
|
||||
}
|
||||
else
|
||||
{
|
||||
NN_LOG("No need NUP\n");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@ -731,6 +731,10 @@ void ReadVersionData()
|
||||
{
|
||||
// バージョン情報を保持する
|
||||
std::memcpy(&s_SDVersionData, buf, readSize);
|
||||
NN_LOG("SD Version = %02d.%02d.%02d-%02d\n", s_SDVersionData.cup.majorVersion,
|
||||
s_SDVersionData.cup.minorVersion,
|
||||
s_SDVersionData.cup.microVersion,
|
||||
s_SDVersionData.nup.majorVersion);
|
||||
COMMON_LOGGER_RESULT_IF_FAILED_WITH_LINE(result);
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user