summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-04-29 02:30:53 +0200
committerbunnei <bunneidev@gmail.com>2018-04-29 17:07:07 +0200
commit334e859ab19ba38df99d1da7c21241410027e8f8 (patch)
tree265fff4c25191f4ed016e2361e1c48616518f64e /src/core
parentset: Fix GetAvailableLanguageCodes implementation. (diff)
downloadyuzu-334e859ab19ba38df99d1da7c21241410027e8f8.tar
yuzu-334e859ab19ba38df99d1da7c21241410027e8f8.tar.gz
yuzu-334e859ab19ba38df99d1da7c21241410027e8f8.tar.bz2
yuzu-334e859ab19ba38df99d1da7c21241410027e8f8.tar.lz
yuzu-334e859ab19ba38df99d1da7c21241410027e8f8.tar.xz
yuzu-334e859ab19ba38df99d1da7c21241410027e8f8.tar.zst
yuzu-334e859ab19ba38df99d1da7c21241410027e8f8.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/service/am/am.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 19fadcb8e..c123e7809 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -12,6 +12,7 @@
#include "core/hle/service/apm/apm.h"
#include "core/hle/service/filesystem/filesystem.h"
#include "core/hle/service/nvflinger/nvflinger.h"
+#include "core/hle/service/set/set.h"
#include "core/settings.h"
namespace Service::AM {
@@ -537,10 +538,11 @@ void IApplicationFunctions::SetTerminateResult(Kernel::HLERequestContext& ctx) {
}
void IApplicationFunctions::GetDesiredLanguage(Kernel::HLERequestContext& ctx) {
+ // TODO(bunnei): This should be configurable
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(RESULT_SUCCESS);
- rb.Push<u64>(SystemLanguage::English);
- NGLOG_WARNING(Service_AM, "(STUBBED) called");
+ rb.Push(static_cast<u64>(Service::Set::LanguageCode::EN_US));
+ NGLOG_DEBUG(Service_AM, "called");
}
void IApplicationFunctions::InitializeGamePlayRecording(Kernel::HLERequestContext& ctx) {