diff options
| author | 2019-09-21 21:50:36 -0400 | |
|---|---|---|
| committer | 2019-09-21 21:50:41 -0400 | |
| commit | 94afffe9e5367efd4deb988e6043b962afdb9ead (patch) | |
| tree | 3636662d3d6e5de5002d6cf3d2c0358601cbdbc9 /src/core/file_sys | |
| parent | system_archive: Synthesize shared fonts system archives (diff) | |
| download | yuzu-94afffe9e5367efd4deb988e6043b962afdb9ead.tar.gz yuzu-94afffe9e5367efd4deb988e6043b962afdb9ead.tar.xz yuzu-94afffe9e5367efd4deb988e6043b962afdb9ead.zip | |
pl_u: Use OSS system archives if real archives don't exist
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) | |||
| 23 | 23 | ||
| 24 | std::vector<u8> bfttf(Size + sizeof(u64)); | 24 | std::vector<u8> bfttf(Size + sizeof(u64)); |
| 25 | 25 | ||
| 26 | u64 offset = 0; | 26 | Service::NS::EncryptSharedFont(vec, bfttf); |
| 27 | Service::NS::EncryptSharedFont(vec, bfttf, offset); | ||
| 28 | return std::make_shared<VectorVfsFile>(std::move(bfttf), name); | 27 | return std::make_shared<VectorVfsFile>(std::move(bfttf), name); |
| 29 | } | 28 | } |
| 30 | 29 | ||