diff options
author | Lioncash <mathew1800@gmail.com> | 2020-10-22 04:14:21 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-10-22 04:14:23 +0200 |
commit | ea20b5c970cb261df93743803a227fafd5403d02 (patch) | |
tree | b0f78e977fef8b78169a5c8df2105cd573ad21fa /src/core/hle/service/ns/pl_u.cpp | |
parent | Merge pull request #4811 from lioncash/warn-video (diff) | |
download | yuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar yuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar.gz yuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar.bz2 yuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar.lz yuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar.xz yuzu-ea20b5c970cb261df93743803a227fafd5403d02.tar.zst yuzu-ea20b5c970cb261df93743803a227fafd5403d02.zip |
Diffstat (limited to 'src/core/hle/service/ns/pl_u.cpp')
-rw-r--r-- | src/core/hle/service/ns/pl_u.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/core/hle/service/ns/pl_u.cpp b/src/core/hle/service/ns/pl_u.cpp index 40838a225..5ccec2637 100644 --- a/src/core/hle/service/ns/pl_u.cpp +++ b/src/core/hle/service/ns/pl_u.cpp @@ -50,19 +50,9 @@ constexpr std::array<std::pair<FontArchives, const char*>, 7> SHARED_FONTS{ std::make_pair(FontArchives::Extension, "nintendo_ext2_003.bfttf"), }; -constexpr std::array<const char*, 7> SHARED_FONTS_TTF{ - "FontStandard.ttf", - "FontChineseSimplified.ttf", - "FontExtendedChineseSimplified.ttf", - "FontChineseTraditional.ttf", - "FontKorean.ttf", - "FontNintendoExtended.ttf", - "FontNintendoExtended2.ttf", -}; - // The below data is specific to shared font data dumped from Switch on f/w 2.2 // Virtual address and offsets/sizes likely will vary by dump -constexpr VAddr SHARED_FONT_MEM_VADDR{0x00000009d3016000ULL}; +[[maybe_unused]] constexpr VAddr SHARED_FONT_MEM_VADDR{0x00000009d3016000ULL}; constexpr u32 EXPECTED_RESULT{0x7f9a0218}; // What we expect the decrypted bfttf first 4 bytes to be constexpr u32 EXPECTED_MAGIC{0x36f81a1e}; // What we expect the encrypted bfttf first 4 bytes to be constexpr u64 SHARED_FONT_MEM_SIZE{0x1100000}; |