summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2020-07-27 12:37:52 -0700
committerGravatar GitHub2020-07-27 12:37:52 -0700
commitf97c2cdd0b649095caa2fbd9b956e589b7694cbd (patch)
tree05a0e185319dd8570595f98bddd0ac72266cab4e
parentMerge pull request #4432 from bylaws/patch-1 (diff)
parentremove unused variable; (diff)
downloadyuzu-f97c2cdd0b649095caa2fbd9b956e589b7694cbd.tar.gz
yuzu-f97c2cdd0b649095caa2fbd9b956e589b7694cbd.tar.xz
yuzu-f97c2cdd0b649095caa2fbd9b956e589b7694cbd.zip
Merge pull request #4434 from CrazyMax/lang_unused_var
AM: GetDesiredLanguage: remove unused variable
-rw-r--r--src/core/hle/service/am/am.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 4e7a0bec9..ceed20609 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -1405,7 +1405,6 @@ void IApplicationFunctions::GetDesiredLanguage(Kernel::HLERequestContext& ctx) {
1405 // Get supported languages from NACP, if possible 1405 // Get supported languages from NACP, if possible
1406 // Default to 0 (all languages supported) 1406 // Default to 0 (all languages supported)
1407 u32 supported_languages = 0; 1407 u32 supported_languages = 0;
1408 FileSys::PatchManager pm{system.CurrentProcess()->GetTitleID()};
1409 1408
1410 const auto res = [this] { 1409 const auto res = [this] {
1411 const auto title_id = system.CurrentProcess()->GetTitleID(); 1410 const auto title_id = system.CurrentProcess()->GetTitleID();