diff options
author | bunnei <bunneidev@gmail.com> | 2021-05-16 10:35:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-16 10:35:46 +0200 |
commit | ad6e20cfdee573cf2abc2b6ffc749726a56b3354 (patch) | |
tree | a72d953f095188960382e115138d69d0667db6d9 /src/core/crypto/ctr_encryption_layer.cpp | |
parent | Merge pull request #6307 from Morph1984/fix-response-push-size (diff) | |
parent | core: Make variable shadowing a compile-time error (diff) | |
download | yuzu-ad6e20cfdee573cf2abc2b6ffc749726a56b3354.tar yuzu-ad6e20cfdee573cf2abc2b6ffc749726a56b3354.tar.gz yuzu-ad6e20cfdee573cf2abc2b6ffc749726a56b3354.tar.bz2 yuzu-ad6e20cfdee573cf2abc2b6ffc749726a56b3354.tar.lz yuzu-ad6e20cfdee573cf2abc2b6ffc749726a56b3354.tar.xz yuzu-ad6e20cfdee573cf2abc2b6ffc749726a56b3354.tar.zst yuzu-ad6e20cfdee573cf2abc2b6ffc749726a56b3354.zip |
Diffstat (limited to 'src/core/crypto/ctr_encryption_layer.cpp')
-rw-r--r-- | src/core/crypto/ctr_encryption_layer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/crypto/ctr_encryption_layer.cpp b/src/core/crypto/ctr_encryption_layer.cpp index 5c84bb0a4..1231da8e3 100644 --- a/src/core/crypto/ctr_encryption_layer.cpp +++ b/src/core/crypto/ctr_encryption_layer.cpp @@ -10,8 +10,8 @@ namespace Core::Crypto { CTREncryptionLayer::CTREncryptionLayer(FileSys::VirtualFile base_, Key128 key_, - std::size_t base_offset) - : EncryptionLayer(std::move(base_)), base_offset(base_offset), cipher(key_, Mode::CTR) {} + std::size_t base_offset_) + : EncryptionLayer(std::move(base_)), base_offset(base_offset_), cipher(key_, Mode::CTR) {} std::size_t CTREncryptionLayer::Read(u8* data, std::size_t length, std::size_t offset) const { if (length == 0) |