summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/am.cpp
diff options
context:
space:
mode:
authorDavid <25727384+ogniK5377@users.noreply.github.com>2018-08-03 17:02:55 +0200
committerbunnei <bunneidev@gmail.com>2018-08-03 17:02:55 +0200
commitc1d54f4aeaada515f88b633b8cf0901ee4cb6853 (patch)
treee320222f18419b07c22617f06980bc0b767e3db7 /src/core/hle/service/am/am.cpp
parentMerge pull request #895 from lioncash/sink (diff)
downloadyuzu-c1d54f4aeaada515f88b633b8cf0901ee4cb6853.tar
yuzu-c1d54f4aeaada515f88b633b8cf0901ee4cb6853.tar.gz
yuzu-c1d54f4aeaada515f88b633b8cf0901ee4cb6853.tar.bz2
yuzu-c1d54f4aeaada515f88b633b8cf0901ee4cb6853.tar.lz
yuzu-c1d54f4aeaada515f88b633b8cf0901ee4cb6853.tar.xz
yuzu-c1d54f4aeaada515f88b633b8cf0901ee4cb6853.tar.zst
yuzu-c1d54f4aeaada515f88b633b8cf0901ee4cb6853.zip
Diffstat (limited to 'src/core/hle/service/am/am.cpp')
-rw-r--r--src/core/hle/service/am/am.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 94d2a973d..9404d6b8c 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -652,7 +652,8 @@ void IApplicationFunctions::GetDesiredLanguage(Kernel::HLERequestContext& ctx) {
// TODO(bunnei): This should be configurable
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(RESULT_SUCCESS);
- rb.Push(static_cast<u64>(Service::Set::LanguageCode::EN_US));
+ rb.Push(
+ static_cast<u64>(Service::Set::GetLanguageCodeFromIndex(Settings::values.language_index)));
LOG_DEBUG(Service_AM, "called");
}