From b197ffba286be4ddcfe6b4b88c397c8cae4577f3 Mon Sep 17 00:00:00 2001 From: N2614 Date: Wed, 23 Feb 2011 11:01:23 +0000 Subject: [PATCH] =?UTF-8?q?=E7=9C=9F=E5=81=BD=E3=81=AE=E9=96=93=E9=81=95?= =?UTF-8?q?=E3=81=84=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp | 4 +--- trunk/ConsoleDataMigration/ConsoleRestore/Importer.cpp | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp b/trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp index 240d033..62cfd0c 100644 --- a/trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp +++ b/trunk/ConsoleDataMigration/ConsoleRestore/Controller.cpp @@ -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; } } diff --git a/trunk/ConsoleDataMigration/ConsoleRestore/Importer.cpp b/trunk/ConsoleDataMigration/ConsoleRestore/Importer.cpp index c96f19f..cd5f53a 100644 --- a/trunk/ConsoleDataMigration/ConsoleRestore/Importer.cpp +++ b/trunk/ConsoleDataMigration/ConsoleRestore/Importer.cpp @@ -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); }