diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-09-22 03:50:36 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-10-13 19:46:27 +0200 |
commit | 40284c68685a1796402a6909584345baf9f99348 (patch) | |
tree | 180e8f0aab35c99eb92829bb7642fa678b10211d /src/core/file_sys/system_archive/shared_font.cpp | |
parent | system_archive: Synthesize shared fonts system archives (diff) | |
download | yuzu-40284c68685a1796402a6909584345baf9f99348.tar yuzu-40284c68685a1796402a6909584345baf9f99348.tar.gz yuzu-40284c68685a1796402a6909584345baf9f99348.tar.bz2 yuzu-40284c68685a1796402a6909584345baf9f99348.tar.lz yuzu-40284c68685a1796402a6909584345baf9f99348.tar.xz yuzu-40284c68685a1796402a6909584345baf9f99348.tar.zst yuzu-40284c68685a1796402a6909584345baf9f99348.zip |
Diffstat (limited to 'src/core/file_sys/system_archive/shared_font.cpp')
-rw-r--r-- | src/core/file_sys/system_archive/shared_font.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/file_sys/system_archive/shared_font.cpp b/src/core/file_sys/system_archive/shared_font.cpp index 2c05eb42e..8613a39b7 100644 --- a/src/core/file_sys/system_archive/shared_font.cpp +++ b/src/core/file_sys/system_archive/shared_font.cpp @@ -23,8 +23,7 @@ VirtualFile PackBFTTF(const std::array<u8, Size>& data, const std::string& name) std::vector<u8> bfttf(Size + sizeof(u64)); - u64 offset = 0; - Service::NS::EncryptSharedFont(vec, bfttf, offset); + Service::NS::EncryptSharedFont(vec, bfttf); return std::make_shared<VectorVfsFile>(std::move(bfttf), name); } |