summaryrefslogtreecommitdiff
path: root/src/core/crypto/encryption_layer.h
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-07-29 19:00:09 -0400
committerGravatar Zach Hilman2018-08-01 00:16:54 -0400
commit03149d3e4a7f8038d9c88cbeb19dee25a39e0042 (patch)
treecae04a5eefd883d1a665d9502370ec5ff9faa3fd /src/core/crypto/encryption_layer.h
parentAllow key loading from %YUZU_DIR%/keys in addition to ~/.switch (diff)
downloadyuzu-03149d3e4a7f8038d9c88cbeb19dee25a39e0042.tar.gz
yuzu-03149d3e4a7f8038d9c88cbeb19dee25a39e0042.tar.xz
yuzu-03149d3e4a7f8038d9c88cbeb19dee25a39e0042.zip
Add missing includes and use const where applicable
Diffstat (limited to 'src/core/crypto/encryption_layer.h')
-rw-r--r--src/core/crypto/encryption_layer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/crypto/encryption_layer.h b/src/core/crypto/encryption_layer.h
index 84f11bf5e..71bca1f23 100644
--- a/src/core/crypto/encryption_layer.h
+++ b/src/core/crypto/encryption_layer.h
@@ -10,7 +10,8 @@ namespace Core::Crypto {
10 10
11// Basically non-functional class that implements all of the methods that are irrelevant to an 11// Basically non-functional class that implements all of the methods that are irrelevant to an
12// EncryptionLayer. Reduces duplicate code. 12// EncryptionLayer. Reduces duplicate code.
13struct EncryptionLayer : public FileSys::VfsFile { 13class EncryptionLayer : public FileSys::VfsFile {
14public:
14 explicit EncryptionLayer(FileSys::VirtualFile base); 15 explicit EncryptionLayer(FileSys::VirtualFile base);
15 16
16 size_t Read(u8* data, size_t length, size_t offset) const override = 0; 17 size_t Read(u8* data, size_t length, size_t offset) const override = 0;