diff options
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>()} { | |||
| 253 | LOG_WARNING(Service_NS, | 253 | LOG_WARNING(Service_NS, |
| 254 | "Shared Font file missing. Loading open source replacement from memory"); | 254 | "Shared Font file missing. Loading open source replacement from memory"); |
| 255 | 255 | ||
| 256 | // clang-format off | ||
| 256 | const std::vector<std::vector<u8>> open_source_shared_fonts_ttf = { | 257 | const std::vector<std::vector<u8>> open_source_shared_fonts_ttf = { |
| 257 | {std::begin(FontChineseSimplified), std::end(FontChineseSimplified)}, | 258 | {std::begin(FontChineseSimplified), std::end(FontChineseSimplified)}, |
| 258 | {std::begin(FontChineseTraditional), std::end(FontChineseTraditional)}, | 259 | {std::begin(FontChineseTraditional), std::end(FontChineseTraditional)}, |
| 259 | {std::begin(FontExtendedChineseSimplified), | 260 | {std::begin(FontExtendedChineseSimplified), std::end(FontExtendedChineseSimplified)}, |
| 260 | std::end(FontExtendedChineseSimplified)}, | 261 | {std::begin(FontKorean), std::end(FontKorean)}, |
| 261 | {std::begin(FontNintendoExtended), std::end(FontNintendoExtended)}, | 262 | {std::begin(FontNintendoExtended), std::end(FontNintendoExtended)}, |
| 262 | {std::begin(FontStandard), std::end(FontStandard)}, | 263 | {std::begin(FontStandard), std::end(FontStandard)}, |
| 263 | }; | 264 | }; |
| 265 | // clang-format on | ||
| 264 | 266 | ||
| 265 | for (const std::vector<u8>& font_ttf : open_source_shared_fonts_ttf) { | 267 | for (const std::vector<u8>& font_ttf : open_source_shared_fonts_ttf) { |
| 266 | const FontRegion region{static_cast<u32>(offset + 8), | 268 | const FontRegion region{static_cast<u32>(offset + 8), |