diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-09-22 03:50:36 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-09-22 03:50:41 +0200 |
commit | 94afffe9e5367efd4deb988e6043b962afdb9ead (patch) | |
tree | 3636662d3d6e5de5002d6cf3d2c0358601cbdbc9 /src/core/file_sys | |
parent | system_archive: Synthesize shared fonts system archives (diff) | |
download | yuzu-94afffe9e5367efd4deb988e6043b962afdb9ead.tar yuzu-94afffe9e5367efd4deb988e6043b962afdb9ead.tar.gz yuzu-94afffe9e5367efd4deb988e6043b962afdb9ead.tar.bz2 yuzu-94afffe9e5367efd4deb988e6043b962afdb9ead.tar.lz yuzu-94afffe9e5367efd4deb988e6043b962afdb9ead.tar.xz yuzu-94afffe9e5367efd4deb988e6043b962afdb9ead.tar.zst yuzu-94afffe9e5367efd4deb988e6043b962afdb9ead.zip |
Diffstat (limited to 'src/core/file_sys')
-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); } |