VERY experimental Nintendo Switch 2 emulator
C++
shared_font: Service::NS::EncryptSharedFont takes a size_t&
MerryMage042bb8824b5b
diff --git a/src/core/file_sys/system_archive/shared_font.cpp b/src/core/file_sys/system_archive/shared_font.cppindex 2c05eb42e2..c5cdf7d9bc 100644--- a/src/core/file_sys/system_archive/shared_font.cpp+++ b/src/core/file_sys/system_archive/shared_font.cpp@@ -23,7 +23,7 @@ VirtualFile PackBFTTF(const std::array<u8, Size>& data, const std::string& name)std::vector<u8> bfttf(Size + sizeof(u64));- u64 offset = 0;+ size_t offset = 0;Service::NS::EncryptSharedFont(vec, bfttf, offset);return std::make_shared<VectorVfsFile>(std::move(bfttf), name);}