diff options
| author | 2019-06-20 10:03:24 +0300 | |
|---|---|---|
| committer | 2019-06-20 10:03:24 +0300 | |
| commit | 908a5a00c5eb9c0da370184498a6240488a9bb09 (patch) | |
| tree | 0cd147c4fea8bb01f66ca8dbd14a09ac25f75bab /src | |
| parent | Merge pull request #2591 from lioncash/record (diff) | |
| parent | Update content_archive.cpp (diff) | |
| download | yuzu-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.cpp | 4 |
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) { |