summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Hexagon122019-06-20 10:03:24 +0300
committerGravatar GitHub2019-06-20 10:03:24 +0300
commit908a5a00c5eb9c0da370184498a6240488a9bb09 (patch)
tree0cd147c4fea8bb01f66ca8dbd14a09ac25f75bab /src
parentMerge pull request #2591 from lioncash/record (diff)
parentUpdate content_archive.cpp (diff)
downloadyuzu-908a5a00c5eb9c0da370184498a6240488a9bb09.tar.gz
yuzu-908a5a00c5eb9c0da370184498a6240488a9bb09.tar.xz
yuzu-908a5a00c5eb9c0da370184498a6240488a9bb09.zip
Merge pull request #2595 from jonsn0w/patch-1
Update content_archive.cpp
Diffstat (limited to 'src')
-rw-r--r--src/core/file_sys/content_archive.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/content_archive.cpp b/src/core/file_sys/content_archive.cpp
index 5aa3b600b..ce5c69b41 100644
--- a/src/core/file_sys/content_archive.cpp
+++ b/src/core/file_sys/content_archive.cpp
@@ -452,13 +452,13 @@ VirtualFile NCA::Decrypt(const NCASectionHeader& s_header, VirtualFile in, u64 s
452 452
453 switch (s_header.raw.header.crypto_type) { 453 switch (s_header.raw.header.crypto_type) {
454 case NCASectionCryptoType::NONE: 454 case NCASectionCryptoType::NONE:
455 LOG_DEBUG(Crypto, "called with mode=NONE"); 455 LOG_TRACE(Crypto, "called with mode=NONE");
456 return in; 456 return in;
457 case NCASectionCryptoType::CTR: 457 case NCASectionCryptoType::CTR:
458 // During normal BKTR decryption, this entire function is skipped. This is for the metadata, 458 // During normal BKTR decryption, this entire function is skipped. This is for the metadata,
459 // which uses the same CTR as usual. 459 // which uses the same CTR as usual.
460 case NCASectionCryptoType::BKTR: 460 case NCASectionCryptoType::BKTR:
461 LOG_DEBUG(Crypto, "called with mode=CTR, starting_offset={:016X}", starting_offset); 461 LOG_TRACE(Crypto, "called with mode=CTR, starting_offset={:016X}", starting_offset);
462 { 462 {
463 std::optional<Core::Crypto::Key128> key = {}; 463 std::optional<Core::Crypto::Key128> key = {};
464 if (has_rights_id) { 464 if (has_rights_id) {