summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applets/error.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-27 01:19:49 +0200
committerGitHub <noreply@github.com>2021-04-27 01:19:49 +0200
commitcd80471c902540ae1086732234d45b6fb5b2e169 (patch)
tree7a58e71917ee449e441e726b662b78757a3310d8 /src/core/hle/service/am/applets/error.cpp
parentMerge pull request #6236 from Morph1984/swkbd-button-hint-scaling (diff)
parentservice: Eliminate cases of member shadowing (diff)
downloadyuzu-cd80471c902540ae1086732234d45b6fb5b2e169.tar
yuzu-cd80471c902540ae1086732234d45b6fb5b2e169.tar.gz
yuzu-cd80471c902540ae1086732234d45b6fb5b2e169.tar.bz2
yuzu-cd80471c902540ae1086732234d45b6fb5b2e169.tar.lz
yuzu-cd80471c902540ae1086732234d45b6fb5b2e169.tar.xz
yuzu-cd80471c902540ae1086732234d45b6fb5b2e169.tar.zst
yuzu-cd80471c902540ae1086732234d45b6fb5b2e169.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/am/applets/error.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/am/applets/error.cpp b/src/core/hle/service/am/applets/error.cpp
index 23e30aa45..0dd6ec68e 100644
--- a/src/core/hle/service/am/applets/error.cpp
+++ b/src/core/hle/service/am/applets/error.cpp
@@ -158,11 +158,11 @@ void Error::Execute() {
break;
case ErrorAppletMode::ShowSystemError:
case ErrorAppletMode::ShowApplicationError: {
- const auto system = mode == ErrorAppletMode::ShowSystemError;
+ const auto is_system = mode == ErrorAppletMode::ShowSystemError;
const auto& main_text =
- system ? args->system_error.main_text : args->application_error.main_text;
+ is_system ? args->system_error.main_text : args->application_error.main_text;
const auto& detail_text =
- system ? args->system_error.detail_text : args->application_error.detail_text;
+ is_system ? args->system_error.detail_text : args->application_error.detail_text;
const auto main_text_string =
Common::StringFromFixedZeroTerminatedBuffer(main_text.data(), main_text.size());