Implement GetAvailableLanguageCodes2 (#575)
* Implement GetAvailableLanguageCodes2 * Revert "Implement GetAvailableLanguageCodes2" This reverts commit caadd9eea3497ae2a13382aecb8ca29e1c02c5af. * Implement GetAvailableLanguageCodes2 * Implement GetAvailableLanguageCodes2
This commit is contained in:
parent
7a0bb406d5
commit
be1f5dedfb
1 changed files with 1 additions and 4 deletions
|
@ -12,9 +12,6 @@
|
||||||
namespace Service::Set {
|
namespace Service::Set {
|
||||||
|
|
||||||
void SET::GetAvailableLanguageCodes(Kernel::HLERequestContext& ctx) {
|
void SET::GetAvailableLanguageCodes(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::RequestParser rp{ctx};
|
|
||||||
u32 id = rp.Pop<u32>();
|
|
||||||
|
|
||||||
static constexpr std::array<LanguageCode, 17> available_language_codes = {{
|
static constexpr std::array<LanguageCode, 17> available_language_codes = {{
|
||||||
LanguageCode::JA,
|
LanguageCode::JA,
|
||||||
LanguageCode::EN_US,
|
LanguageCode::EN_US,
|
||||||
|
@ -50,7 +47,7 @@ SET::SET() : ServiceFramework("set") {
|
||||||
{2, nullptr, "MakeLanguageCode"},
|
{2, nullptr, "MakeLanguageCode"},
|
||||||
{3, nullptr, "GetAvailableLanguageCodeCount"},
|
{3, nullptr, "GetAvailableLanguageCodeCount"},
|
||||||
{4, nullptr, "GetRegionCode"},
|
{4, nullptr, "GetRegionCode"},
|
||||||
{5, nullptr, "GetAvailableLanguageCodes2"},
|
{5, &SET::GetAvailableLanguageCodes, "GetAvailableLanguageCodes2"},
|
||||||
{6, nullptr, "GetAvailableLanguageCodeCount2"},
|
{6, nullptr, "GetAvailableLanguageCodeCount2"},
|
||||||
{7, nullptr, "GetKeyCodeMap"},
|
{7, nullptr, "GetKeyCodeMap"},
|
||||||
{8, nullptr, "GetQuestFlag"},
|
{8, nullptr, "GetQuestFlag"},
|
||||||
|
|
Loading…
Reference in a new issue