mirror of
https://github.com/rvtr/ctr_Repair.git
synced 2025-10-31 13:51:08 -04:00
[Verifier]検証失敗時の表示を強調
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
This commit is contained in:
parent
59fb4fbf35
commit
2991130a52
@ -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
|
||||
|
||||
@ -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();
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user