summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorMichael Scire <SciresM@gmail.com>2019-05-23 11:37:13 +0200
committerMichael Scire <SciresM@gmail.com>2019-05-23 11:37:13 +0200
commit016f2eab730ef9eb5035cd9217e6a8b0ace696ae (patch)
treef88e8675a7da24122f03e566762985345e02100e /src/core/hle/service
parentfix introduced clang-format errors (diff)
downloadyuzu-016f2eab730ef9eb5035cd9217e6a8b0ace696ae.tar
yuzu-016f2eab730ef9eb5035cd9217e6a8b0ace696ae.tar.gz
yuzu-016f2eab730ef9eb5035cd9217e6a8b0ace696ae.tar.bz2
yuzu-016f2eab730ef9eb5035cd9217e6a8b0ace696ae.tar.lz
yuzu-016f2eab730ef9eb5035cd9217e6a8b0ace696ae.tar.xz
yuzu-016f2eab730ef9eb5035cd9217e6a8b0ace696ae.tar.zst
yuzu-016f2eab730ef9eb5035cd9217e6a8b0ace696ae.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/ns/ns.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/service/ns/ns.cpp b/src/core/hle/service/ns/ns.cpp
index 8638390d6..ce88a2941 100644
--- a/src/core/hle/service/ns/ns.cpp
+++ b/src/core/hle/service/ns/ns.cpp
@@ -344,8 +344,7 @@ ResultVal<u8> IApplicationManagerInterface::GetApplicationDesiredLanguage(
// Try to find a valid language.
for (const auto lang : *priority_list) {
const auto supported_flag = GetSupportedLanguageFlag(lang);
- if (supported_languages == 0 ||
- (supported_languages & supported_flag) == supported_languages) {
+ if (supported_languages == 0 || (supported_languages & supported_flag) == supported_flag) {
return MakeResult(static_cast<u8>(lang));
}
}