summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-09-22 03:50:36 +0200
committerZach Hilman <zachhilman@gmail.com>2019-10-13 19:46:27 +0200
commit40284c68685a1796402a6909584345baf9f99348 (patch)
tree180e8f0aab35c99eb92829bb7642fa678b10211d /src/core/file_sys
parentsystem_archive: Synthesize shared fonts system archives (diff)
downloadyuzu-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')
-rw-r--r--src/core/file_sys/system_archive/shared_font.cpp3
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);
}