From 2991130a52097443944a2691ffe08ccaeedd15b0 Mon Sep 17 00:00:00 2001 From: N2614 Date: Tue, 29 Mar 2011 08:01:49 +0000 Subject: [PATCH] =?UTF-8?q?[Verifier]=E6=A4=9C=E8=A8=BC=E5=A4=B1=E6=95=97?= =?UTF-8?q?=E6=99=82=E3=81=AE=E8=A1=A8=E7=A4=BA=E3=82=92=E5=BC=B7=E8=AA=BF?= 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@169 385bec56-5757-e545-9c3a-d8741f4650f1 --- .../tools/ExportedDataVerifier/OMakefile | 1 - .../tools/ExportedDataVerifier/main.cpp | 10 ++++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/trunk/ConsoleDataMigration/tools/ExportedDataVerifier/OMakefile b/trunk/ConsoleDataMigration/tools/ExportedDataVerifier/OMakefile index 9300c96..6ab5b91 100644 --- a/trunk/ConsoleDataMigration/tools/ExportedDataVerifier/OMakefile +++ b/trunk/ConsoleDataMigration/tools/ExportedDataVerifier/OMakefile @@ -26,7 +26,6 @@ INCLUDES += $(SAMPLED_DEMOS_COMMON_INCLUDE_DIR) \ SOURCES[] = main.cpp ../../common/HardwareInfo.cpp - ../../common/DrawSystemState.cpp ../../common/FileTransfer.cpp ../../common/FileChecker.cpp ../../common/SdReaderWriter.cpp diff --git a/trunk/ConsoleDataMigration/tools/ExportedDataVerifier/main.cpp b/trunk/ConsoleDataMigration/tools/ExportedDataVerifier/main.cpp index 7d620bd..1edaff7 100644 --- a/trunk/ConsoleDataMigration/tools/ExportedDataVerifier/main.cpp +++ b/trunk/ConsoleDataMigration/tools/ExportedDataVerifier/main.cpp @@ -313,12 +313,12 @@ bool VerifyDirectory(const wchar_t * from_path, void* buf, ret_value = CalculateAndCompareCmac(&context, sdCmac); if(!ret_value) { - COMMON_LOGGER("Verification Failed, %s\n", GetCharStr(target_from.str().c_str())); + COMMON_LOGGER("********** Verification Failed **********\n %s\n", GetCharStr(target_from.str().c_str())); s_VerifyFail++; } else { - COMMON_LOGGER("Success\n"); + COMMON_LOGGER("Success %s\n", GetCharStr(target_from.str().c_str())); s_VerifySuccess++; } break; @@ -339,12 +339,12 @@ bool VerifyDirectory(const wchar_t * from_path, void* buf, ret_value = CalculateAndCompareCmac(&context, sdCmac); if(!ret_value) { - COMMON_LOGGER("Verification Failed, %s\n", GetCharStr(target_from.str().c_str())); + COMMON_LOGGER("********** Verification Failed **********\n %s\n", GetCharStr(target_from.str().c_str())); s_VerifyFail++; } else { - COMMON_LOGGER("Success\n"); + COMMON_LOGGER("Success %s\n", GetCharStr(target_from.str().c_str())); s_VerifySuccess++; } break; @@ -367,6 +367,8 @@ void VerifyThreadFunc() nn::Result result; COMMON_LOGGER("VerifyThreadFunc Start\n"); + s_VerifyFail = 0; + s_VerifySuccess = 0; result = common::SdMountManager::Mount();