summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-09-22 04:17:30 +0200
committerZach Hilman <zachhilman@gmail.com>2019-10-13 19:46:27 +0200
commitb3a8a094a5b713b7ee02c535f539a19590760b8d (patch)
tree6a29d4926365e4c426ddc7fbeb2470545a0a83f0 /src/core
parentpl_u: Use OSS system archives if real archives don't exist (diff)
downloadyuzu-b3a8a094a5b713b7ee02c535f539a19590760b8d.tar
yuzu-b3a8a094a5b713b7ee02c535f539a19590760b8d.tar.gz
yuzu-b3a8a094a5b713b7ee02c535f539a19590760b8d.tar.bz2
yuzu-b3a8a094a5b713b7ee02c535f539a19590760b8d.tar.lz
yuzu-b3a8a094a5b713b7ee02c535f539a19590760b8d.tar.xz
yuzu-b3a8a094a5b713b7ee02c535f539a19590760b8d.tar.zst
yuzu-b3a8a094a5b713b7ee02c535f539a19590760b8d.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/ns/pl_u.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/ns/pl_u.cpp b/src/core/hle/service/ns/pl_u.cpp
index bafba3d2f..b9c0f4b43 100644
--- a/src/core/hle/service/ns/pl_u.cpp
+++ b/src/core/hle/service/ns/pl_u.cpp
@@ -95,7 +95,7 @@ static void DecryptSharedFont(const std::vector<u32>& input, Kernel::PhysicalMem
offset += transformed_font.size() * sizeof(u32);
}
-static void EncryptSharedFont(const std::vector<u8>& input, Kernel::PhysicalMemory& output) {
+void EncryptSharedFont(const std::vector<u8>& input, Kernel::PhysicalMemory& output) {
ASSERT_MSG(input.size() * sizeof(u32) < SHARED_FONT_MEM_SIZE, "Shared fonts exceeds 17mb!");
const auto key = Common::swap32(EXPECTED_RESULT ^ EXPECTED_MAGIC);