From 94afffe9e5367efd4deb988e6043b962afdb9ead Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Sat, 21 Sep 2019 21:50:36 -0400 Subject: pl_u: Use OSS system archives if real archives don't exist --- src/core/file_sys/system_archive/shared_font.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/file_sys/system_archive') 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& data, const std::string& name) std::vector bfttf(Size + sizeof(u64)); - u64 offset = 0; - Service::NS::EncryptSharedFont(vec, bfttf, offset); + Service::NS::EncryptSharedFont(vec, bfttf); return std::make_shared(std::move(bfttf), name); } -- cgit v1.2.3