summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeWiiCrypted.cpp
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2016-10-02 16:51:44 -0400
committerGitHub <noreply@github.com>2016-10-02 16:51:44 -0400
commitccfc0816974bde303ac62bfad019a41ff6fb13f0 (patch)
treeab4fdc886468cf8bd4ccbb8618354e7b0af82a3d /Source/Core/DiscIO/VolumeWiiCrypted.cpp
parent2e4ef57b47c1ef06ede4121d4b22ad60abe19082 (diff)
parentf0aa9b3751f4c3efeb3b1794991533d3d4616d03 (diff)
Merge pull request #4245 from aldelaro5/logs-levels-changes
Lots of Logs levels changes (also enable INFO level in every build)
Diffstat (limited to 'Source/Core/DiscIO/VolumeWiiCrypted.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeWiiCrypted.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DiscIO/VolumeWiiCrypted.cpp b/Source/Core/DiscIO/VolumeWiiCrypted.cpp
index 55435657a4..f58b85876e 100644
--- a/Source/Core/DiscIO/VolumeWiiCrypted.cpp
+++ b/Source/Core/DiscIO/VolumeWiiCrypted.cpp
@@ -333,7 +333,7 @@ bool CVolumeWiiCrypted::CheckIntegrity() const
u8 IV[16] = {0};
if (!m_pReader->Read(clusterOff, 0x400, clusterMDCrypted))
{
- NOTICE_LOG(DISCIO, "Integrity Check: fail at cluster %d: could not read metadata", clusterID);
+ WARN_LOG(DISCIO, "Integrity Check: fail at cluster %d: could not read metadata", clusterID);
return false;
}
mbedtls_aes_crypt_cbc(m_AES_ctx.get(), MBEDTLS_AES_DECRYPT, 0x400, IV, clusterMDCrypted,
@@ -358,7 +358,7 @@ bool CVolumeWiiCrypted::CheckIntegrity() const
u8 clusterData[0x7C00];
if (!Read((u64)clusterID * 0x7C00, 0x7C00, clusterData, true))
{
- NOTICE_LOG(DISCIO, "Integrity Check: fail at cluster %d: could not read data", clusterID);
+ WARN_LOG(DISCIO, "Integrity Check: fail at cluster %d: could not read data", clusterID);
return false;
}
@@ -371,8 +371,8 @@ bool CVolumeWiiCrypted::CheckIntegrity() const
// Note that we do not use strncmp here
if (memcmp(hash, clusterMD + hashID * 20, 20))
{
- NOTICE_LOG(DISCIO, "Integrity Check: fail at cluster %d: hash %d is invalid", clusterID,
- hashID);
+ WARN_LOG(DISCIO, "Integrity Check: fail at cluster %d: hash %d is invalid", clusterID,
+ hashID);
return false;
}
}