diff options
author | Narr the Reg <juangerman-13@hotmail.com> | 2023-08-03 03:42:45 +0200 |
---|---|---|
committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-08-03 06:33:42 +0200 |
commit | 4bd4a95d84baf1756f7f9b3d9601a3160fa96917 (patch) | |
tree | acebbf4646a8a85ba4fd006670dda73bfa5711cf /src/core/hle/service/set/set.cpp | |
parent | Merge pull request #11202 from abouvier/vulkan-config (diff) | |
download | yuzu-4bd4a95d84baf1756f7f9b3d9601a3160fa96917.tar yuzu-4bd4a95d84baf1756f7f9b3d9601a3160fa96917.tar.gz yuzu-4bd4a95d84baf1756f7f9b3d9601a3160fa96917.tar.bz2 yuzu-4bd4a95d84baf1756f7f9b3d9601a3160fa96917.tar.lz yuzu-4bd4a95d84baf1756f7f9b3d9601a3160fa96917.tar.xz yuzu-4bd4a95d84baf1756f7f9b3d9601a3160fa96917.tar.zst yuzu-4bd4a95d84baf1756f7f9b3d9601a3160fa96917.zip |
Diffstat (limited to 'src/core/hle/service/set/set.cpp')
-rw-r--r-- | src/core/hle/service/set/set.cpp | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cpp index 83f888c54..2082b8ef7 100644 --- a/src/core/hle/service/set/set.cpp +++ b/src/core/hle/service/set/set.cpp @@ -11,66 +11,6 @@ namespace Service::Set { namespace { -constexpr std::array<LanguageCode, 18> available_language_codes = {{ - LanguageCode::JA, - LanguageCode::EN_US, - LanguageCode::FR, - LanguageCode::DE, - LanguageCode::IT, - LanguageCode::ES, - LanguageCode::ZH_CN, - LanguageCode::KO, - LanguageCode::NL, - LanguageCode::PT, - LanguageCode::RU, - LanguageCode::ZH_TW, - LanguageCode::EN_GB, - LanguageCode::FR_CA, - LanguageCode::ES_419, - LanguageCode::ZH_HANS, - LanguageCode::ZH_HANT, - LanguageCode::PT_BR, -}}; - -enum class KeyboardLayout : u64 { - Japanese = 0, - EnglishUs = 1, - EnglishUsInternational = 2, - EnglishUk = 3, - French = 4, - FrenchCa = 5, - Spanish = 6, - SpanishLatin = 7, - German = 8, - Italian = 9, - Portuguese = 10, - Russian = 11, - Korean = 12, - ChineseSimplified = 13, - ChineseTraditional = 14, -}; - -constexpr std::array<std::pair<LanguageCode, KeyboardLayout>, 18> language_to_layout{{ - {LanguageCode::JA, KeyboardLayout::Japanese}, - {LanguageCode::EN_US, KeyboardLayout::EnglishUs}, - {LanguageCode::FR, KeyboardLayout::French}, - {LanguageCode::DE, KeyboardLayout::German}, - {LanguageCode::IT, KeyboardLayout::Italian}, - {LanguageCode::ES, KeyboardLayout::Spanish}, - {LanguageCode::ZH_CN, KeyboardLayout::ChineseSimplified}, - {LanguageCode::KO, KeyboardLayout::Korean}, - {LanguageCode::NL, KeyboardLayout::EnglishUsInternational}, - {LanguageCode::PT, KeyboardLayout::Portuguese}, - {LanguageCode::RU, KeyboardLayout::Russian}, - {LanguageCode::ZH_TW, KeyboardLayout::ChineseTraditional}, - {LanguageCode::EN_GB, KeyboardLayout::EnglishUk}, - {LanguageCode::FR_CA, KeyboardLayout::FrenchCa}, - {LanguageCode::ES_419, KeyboardLayout::SpanishLatin}, - {LanguageCode::ZH_HANS, KeyboardLayout::ChineseSimplified}, - {LanguageCode::ZH_HANT, KeyboardLayout::ChineseTraditional}, - {LanguageCode::PT_BR, KeyboardLayout::Portuguese}, -}}; - constexpr std::size_t PRE_4_0_0_MAX_ENTRIES = 0xF; constexpr std::size_t POST_4_0_0_MAX_ENTRIES = 0x40; |