summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/set/set.cpp
diff options
context:
space:
mode:
authormailwl <mailwl@gmail.com>2018-03-02 09:49:35 +0100
committermailwl <mailwl@gmail.com>2018-03-03 07:03:49 +0100
commit28669872d93ae726c3f97f6e9ac8da984e313646 (patch)
tree46b17dc2c96a5b031dfd841ad8d7bf27057c42c8 /src/core/hle/service/set/set.cpp
parentMerge pull request #216 from Subv/savedata (diff)
downloadyuzu-28669872d93ae726c3f97f6e9ac8da984e313646.tar
yuzu-28669872d93ae726c3f97f6e9ac8da984e313646.tar.gz
yuzu-28669872d93ae726c3f97f6e9ac8da984e313646.tar.bz2
yuzu-28669872d93ae726c3f97f6e9ac8da984e313646.tar.lz
yuzu-28669872d93ae726c3f97f6e9ac8da984e313646.tar.xz
yuzu-28669872d93ae726c3f97f6e9ac8da984e313646.tar.zst
yuzu-28669872d93ae726c3f97f6e9ac8da984e313646.zip
Diffstat (limited to 'src/core/hle/service/set/set.cpp')
-rw-r--r--src/core/hle/service/set/set.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cpp
index 3001ee411..aa7c924e7 100644
--- a/src/core/hle/service/set/set.cpp
+++ b/src/core/hle/service/set/set.cpp
@@ -26,16 +26,19 @@ void SET::GetAvailableLanguageCodes(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_SET, "(STUBBED) called");
}
-SET::SET(const char* name) : ServiceFramework(name) {
+SET::SET() : ServiceFramework("set") {
static const FunctionInfo functions[] = {
+ {0, nullptr, "GetLanguageCode"},
{1, &SET::GetAvailableLanguageCodes, "GetAvailableLanguageCodes"},
+ {2, nullptr, "MakeLanguageCode"},
+ {3, nullptr, "GetAvailableLanguageCodeCount"},
+ {4, nullptr, "GetRegionCode"},
+ {5, nullptr, "GetAvailableLanguageCodes2"},
+ {6, nullptr, "GetAvailableLanguageCodeCount2"},
+ {7, nullptr, "GetKeyCodeMap"},
};
RegisterHandlers(functions);
}
-void InstallInterfaces(SM::ServiceManager& service_manager) {
- std::make_shared<SET>("set")->InstallAsService(service_manager);
-}
-
} // namespace Set
} // namespace Service