diff options
author | Liam <byteslice@airmail.cc> | 2022-06-08 00:56:38 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-06-14 02:09:30 +0200 |
commit | d11547024c2c14b913ed8743de5e345260e3c19f (patch) | |
tree | 249f96ff849b6a509d46295e78ae9c3f91d9ec20 /src/core | |
parent | kernel: ensure class token lambda exit is unreachable (diff) | |
download | yuzu-d11547024c2c14b913ed8743de5e345260e3c19f.tar yuzu-d11547024c2c14b913ed8743de5e345260e3c19f.tar.gz yuzu-d11547024c2c14b913ed8743de5e345260e3c19f.tar.bz2 yuzu-d11547024c2c14b913ed8743de5e345260e3c19f.tar.lz yuzu-d11547024c2c14b913ed8743de5e345260e3c19f.tar.xz yuzu-d11547024c2c14b913ed8743de5e345260e3c19f.tar.zst yuzu-d11547024c2c14b913ed8743de5e345260e3c19f.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/file_sys/content_archive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/file_sys/content_archive.cpp b/src/core/file_sys/content_archive.cpp index 93f784418..78e56bbbd 100644 --- a/src/core/file_sys/content_archive.cpp +++ b/src/core/file_sys/content_archive.cpp @@ -419,7 +419,7 @@ std::optional<Core::Crypto::Key128> NCA::GetKeyAreaKey(NCASectionCryptoType type Core::Crypto::Mode::ECB); cipher.Transcode(key_area.data(), key_area.size(), key_area.data(), Core::Crypto::Op::Decrypt); - Core::Crypto::Key128 out; + Core::Crypto::Key128 out{}; if (type == NCASectionCryptoType::XTS) { std::copy(key_area.begin(), key_area.begin() + 0x10, out.begin()); } else if (type == NCASectionCryptoType::CTR || type == NCASectionCryptoType::BKTR) { |