summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2019-09-22 04:17:30 +0200
committerZach Hilman <zachhilman@gmail.com>2019-09-22 04:17:30 +0200
commit885ea2de2ad998102e0deb547a6a3297396b9d1a (patch)
tree834ea4c50a0475b7e629d439b3e336481ad441a2 /src
parentpl_u: Use OSS system archives if real archives don't exist (diff)
downloadyuzu-885ea2de2ad998102e0deb547a6a3297396b9d1a.tar
yuzu-885ea2de2ad998102e0deb547a6a3297396b9d1a.tar.gz
yuzu-885ea2de2ad998102e0deb547a6a3297396b9d1a.tar.bz2
yuzu-885ea2de2ad998102e0deb547a6a3297396b9d1a.tar.lz
yuzu-885ea2de2ad998102e0deb547a6a3297396b9d1a.tar.xz
yuzu-885ea2de2ad998102e0deb547a6a3297396b9d1a.tar.zst
yuzu-885ea2de2ad998102e0deb547a6a3297396b9d1a.zip
Diffstat (limited to 'src')
-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 08f7a2412..7586e3e6c 100644
--- a/src/core/hle/service/ns/pl_u.cpp
+++ b/src/core/hle/service/ns/pl_u.cpp
@@ -88,7 +88,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);