diff options
author | bunnei <bunneidev@gmail.com> | 2018-09-14 01:49:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-14 01:49:39 +0200 |
commit | 3ef134a0920d1a2bbe7659dc9647e77eb0c781c1 (patch) | |
tree | 33748eada6f4ed2e8c918e5e34f6ffa8390b63c8 /src | |
parent | Merge pull request #1308 from valentinvanelslande/ipc (diff) | |
parent | services/pl_u: Add missing Korean font to the fallback case for shared fonts (diff) | |
download | yuzu-3ef134a0920d1a2bbe7659dc9647e77eb0c781c1.tar yuzu-3ef134a0920d1a2bbe7659dc9647e77eb0c781c1.tar.gz yuzu-3ef134a0920d1a2bbe7659dc9647e77eb0c781c1.tar.bz2 yuzu-3ef134a0920d1a2bbe7659dc9647e77eb0c781c1.tar.lz yuzu-3ef134a0920d1a2bbe7659dc9647e77eb0c781c1.tar.xz yuzu-3ef134a0920d1a2bbe7659dc9647e77eb0c781c1.tar.zst yuzu-3ef134a0920d1a2bbe7659dc9647e77eb0c781c1.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/ns/pl_u.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/ns/pl_u.cpp b/src/core/hle/service/ns/pl_u.cpp index ac0eaaa8f..447689a1a 100644 --- a/src/core/hle/service/ns/pl_u.cpp +++ b/src/core/hle/service/ns/pl_u.cpp @@ -253,14 +253,16 @@ PL_U::PL_U() : ServiceFramework("pl:u"), impl{std::make_unique<Impl>()} { LOG_WARNING(Service_NS, "Shared Font file missing. Loading open source replacement from memory"); + // clang-format off const std::vector<std::vector<u8>> open_source_shared_fonts_ttf = { {std::begin(FontChineseSimplified), std::end(FontChineseSimplified)}, {std::begin(FontChineseTraditional), std::end(FontChineseTraditional)}, - {std::begin(FontExtendedChineseSimplified), - std::end(FontExtendedChineseSimplified)}, + {std::begin(FontExtendedChineseSimplified), std::end(FontExtendedChineseSimplified)}, + {std::begin(FontKorean), std::end(FontKorean)}, {std::begin(FontNintendoExtended), std::end(FontNintendoExtended)}, {std::begin(FontStandard), std::end(FontStandard)}, }; + // clang-format on for (const std::vector<u8>& font_ttf : open_source_shared_fonts_ttf) { const FontRegion region{static_cast<u32>(offset + 8), |