summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/am/applets/error.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-04-26 15:11:33 +0200
committerLioncash <mathew1800@gmail.com>2021-04-26 15:39:49 +0200
commitdcb91ca4a4a97d279d01ebe010e07298acca1ba9 (patch)
tree873cdb75aadc3be02c833c205d8e37c375fa49dd /src/core/hle/service/am/applets/error.cpp
parentMerge pull request #6198 from Kewlan/favorite-games (diff)
downloadyuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.tar
yuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.tar.gz
yuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.tar.bz2
yuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.tar.lz
yuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.tar.xz
yuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.tar.zst
yuzu-dcb91ca4a4a97d279d01ebe010e07298acca1ba9.zip
Diffstat (limited to 'src/core/hle/service/am/applets/error.cpp')
-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());