mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-27 06:54:20 +01:00
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
@ -12,9 +12,6 @@
|
||||
namespace Service::Set {
|
||||
|
||||
void SET::GetAvailableLanguageCodes(Kernel::HLERequestContext& ctx) {
|
||||
IPC::RequestParser rp{ctx};
|
||||
u32 id = rp.Pop<u32>();
|
||||
|
||||
static constexpr std::array<LanguageCode, 17> available_language_codes = {{
|
||||
LanguageCode::JA,
|
||||
LanguageCode::EN_US,
|
||||
@ -50,7 +47,7 @@ SET::SET() : ServiceFramework("set") {
|
||||
{2, nullptr, "MakeLanguageCode"},
|
||||
{3, nullptr, "GetAvailableLanguageCodeCount"},
|
||||
{4, nullptr, "GetRegionCode"},
|
||||
{5, nullptr, "GetAvailableLanguageCodes2"},
|
||||
{5, &SET::GetAvailableLanguageCodes, "GetAvailableLanguageCodes2"},
|
||||
{6, nullptr, "GetAvailableLanguageCodeCount2"},
|
||||
{7, nullptr, "GetKeyCodeMap"},
|
||||
{8, nullptr, "GetQuestFlag"},
|
||||
|
Loading…
Reference in New Issue
Block a user