diff options
author | goaaats <16760685+goaaats@users.noreply.github.com> | 2018-01-19 21:44:58 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-19 21:44:58 +0100 |
commit | c457f34eb22eb43aa2beca0414e59f2a284715dd (patch) | |
tree | e0f344e4ff1d48d01d3aa89f655b8d442b5cfd51 /src/core/hle/service/am/applet_oe.cpp | |
parent | Merge pull request #109 from bunnei/libnx-fixes (diff) | |
download | yuzu-c457f34eb22eb43aa2beca0414e59f2a284715dd.tar yuzu-c457f34eb22eb43aa2beca0414e59f2a284715dd.tar.gz yuzu-c457f34eb22eb43aa2beca0414e59f2a284715dd.tar.bz2 yuzu-c457f34eb22eb43aa2beca0414e59f2a284715dd.tar.lz yuzu-c457f34eb22eb43aa2beca0414e59f2a284715dd.tar.xz yuzu-c457f34eb22eb43aa2beca0414e59f2a284715dd.tar.zst yuzu-c457f34eb22eb43aa2beca0414e59f2a284715dd.zip |
Diffstat (limited to 'src/core/hle/service/am/applet_oe.cpp')
-rw-r--r-- | src/core/hle/service/am/applet_oe.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/service/am/applet_oe.cpp b/src/core/hle/service/am/applet_oe.cpp index 038080e8c..79ad4f53b 100644 --- a/src/core/hle/service/am/applet_oe.cpp +++ b/src/core/hle/service/am/applet_oe.cpp @@ -270,6 +270,7 @@ public: IApplicationFunctions() : ServiceFramework("IApplicationFunctions") { static const FunctionInfo functions[] = { {1, &IApplicationFunctions::PopLaunchParameter, "PopLaunchParameter"}, + {21, &IApplicationFunctions::GetDesiredLanguage, "GetDesiredLanguage"}, {22, &IApplicationFunctions::SetTerminateResult, "SetTerminateResult"}, {66, &IApplicationFunctions::InitializeGamePlayRecording, "InitializeGamePlayRecording"}, @@ -313,6 +314,13 @@ private: LOG_WARNING(Service, "(STUBBED) called, result=0x%08X", result); } + void GetDesiredLanguage(Kernel::HLERequestContext& ctx) { + IPC::RequestBuilder rb{ctx, 4}; + rb.Push(RESULT_SUCCESS); + rb.Push<u64>(SystemLanguage::English); + LOG_WARNING(Service, "(STUBBED) called"); + } + void InitializeGamePlayRecording(Kernel::HLERequestContext& ctx) { IPC::RequestBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); |