diff options
author | Liam <byteslice@airmail.cc> | 2023-03-07 01:04:12 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2023-03-07 02:58:42 +0100 |
commit | 1d0fe75e7cca27d79006654dcc56c44cb4096d3a (patch) | |
tree | 3291e0ad973cd3c0e07ded22c968f40c2c6dd955 /src/core/hle/service/set/set.cpp | |
parent | Merge pull request #9890 from Kelebek1/reverb_fix (diff) | |
download | yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.tar yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.tar.gz yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.tar.bz2 yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.tar.lz yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.tar.xz yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.tar.zst yuzu-1d0fe75e7cca27d79006654dcc56c44cb4096d3a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/set/set.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cpp index 88df52331..f5788b481 100644 --- a/src/core/hle/service/set/set.cpp +++ b/src/core/hle/service/set/set.cpp @@ -74,7 +74,7 @@ constexpr std::array<std::pair<LanguageCode, KeyboardLayout>, 18> language_to_la constexpr std::size_t PRE_4_0_0_MAX_ENTRIES = 0xF; constexpr std::size_t POST_4_0_0_MAX_ENTRIES = 0x40; -constexpr Result ERR_INVALID_LANGUAGE{ErrorModule::Settings, 625}; +constexpr Result ResultInvalidLanguage{ErrorModule::Settings, 625}; void PushResponseLanguageCode(HLERequestContext& ctx, std::size_t num_language_codes) { IPC::ResponseBuilder rb{ctx, 3}; @@ -130,7 +130,7 @@ void SET::MakeLanguageCode(HLERequestContext& ctx) { if (index >= available_language_codes.size()) { LOG_ERROR(Service_SET, "Invalid language code index! index={}", index); IPC::ResponseBuilder rb{ctx, 2}; - rb.Push(ERR_INVALID_LANGUAGE); + rb.Push(Set::ResultInvalidLanguage); return; } |