summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgreggameplayer <33609333+greggameplayer@users.noreply.github.com>2018-06-19 17:29:04 +0200
committerbunnei <bunneidev@gmail.com>2018-06-19 17:29:04 +0200
commitbe1f5dedfbfd88a1e1b13d968d5526ffe14e6d6d (patch)
treefb75aac663cacbc5da9579a57d979d7dceb8f3c3
parentMerge pull request #574 from Subv/shader_abs_neg (diff)
downloadyuzu-be1f5dedfbfd88a1e1b13d968d5526ffe14e6d6d.tar
yuzu-be1f5dedfbfd88a1e1b13d968d5526ffe14e6d6d.tar.gz
yuzu-be1f5dedfbfd88a1e1b13d968d5526ffe14e6d6d.tar.bz2
yuzu-be1f5dedfbfd88a1e1b13d968d5526ffe14e6d6d.tar.lz
yuzu-be1f5dedfbfd88a1e1b13d968d5526ffe14e6d6d.tar.xz
yuzu-be1f5dedfbfd88a1e1b13d968d5526ffe14e6d6d.tar.zst
yuzu-be1f5dedfbfd88a1e1b13d968d5526ffe14e6d6d.zip
-rw-r--r--src/core/hle/service/set/set.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cpp
index f0572bed6..baeecb0ec 100644
--- a/src/core/hle/service/set/set.cpp
+++ b/src/core/hle/service/set/set.cpp
@@ -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"},