diff options
author | Michael Scire <SciresM@gmail.com> | 2019-05-23 10:39:22 +0200 |
---|---|---|
committer | Michael Scire <SciresM@gmail.com> | 2019-05-23 10:39:22 +0200 |
commit | 2ed896075e6284dde7929d15fa0fd751ee440de2 (patch) | |
tree | d7496fed6349a6e49683723e22cc368da2f1a0d7 /src/core/hle/service/ns/ns.cpp | |
parent | Address review comments (diff) | |
download | yuzu-2ed896075e6284dde7929d15fa0fd751ee440de2.tar yuzu-2ed896075e6284dde7929d15fa0fd751ee440de2.tar.gz yuzu-2ed896075e6284dde7929d15fa0fd751ee440de2.tar.bz2 yuzu-2ed896075e6284dde7929d15fa0fd751ee440de2.tar.lz yuzu-2ed896075e6284dde7929d15fa0fd751ee440de2.tar.xz yuzu-2ed896075e6284dde7929d15fa0fd751ee440de2.tar.zst yuzu-2ed896075e6284dde7929d15fa0fd751ee440de2.zip |
Diffstat (limited to 'src/core/hle/service/ns/ns.cpp')
-rw-r--r-- | src/core/hle/service/ns/ns.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/hle/service/ns/ns.cpp b/src/core/hle/service/ns/ns.cpp index e892b50f3..8638390d6 100644 --- a/src/core/hle/service/ns/ns.cpp +++ b/src/core/hle/service/ns/ns.cpp @@ -8,8 +8,8 @@ #include "core/hle/ipc_helpers.h" #include "core/hle/kernel/hle_ipc.h" #include "core/hle/service/ns/errors.h" -#include "core/hle/service/ns/ns.h" #include "core/hle/service/ns/language.h" +#include "core/hle/service/ns/ns.h" #include "core/hle/service/ns/pl_u.h" #include "core/hle/service/set/set.h" #include "core/settings.h" @@ -329,8 +329,7 @@ ResultVal<u8> IApplicationManagerInterface::GetApplicationDesiredLanguage( LOG_DEBUG(Service_NS, "called with supported_languages={:08X}", supported_languages); // Get language code from settings - const auto language_code = - Set::GetLanguageCodeFromIndex(Settings::values.language_index); + const auto language_code = Set::GetLanguageCodeFromIndex(Settings::values.language_index); // Convert to application language, get priority list const auto application_language = ConvertToApplicationLanguage(language_code); |