diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-03-08 15:16:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-08 15:16:27 +0100 |
commit | f3f57f90fed6d1c3b478c9fceb91a54579b4947d (patch) | |
tree | 3280b90f3b54b6f8f3fca804cab04699897faa3f /src/core/hle/service/set | |
parent | Merge pull request #9904 from liamwhite/ws (diff) | |
parent | hle: rename legacy errors to Results (diff) | |
download | yuzu-f3f57f90fed6d1c3b478c9fceb91a54579b4947d.tar yuzu-f3f57f90fed6d1c3b478c9fceb91a54579b4947d.tar.gz yuzu-f3f57f90fed6d1c3b478c9fceb91a54579b4947d.tar.bz2 yuzu-f3f57f90fed6d1c3b478c9fceb91a54579b4947d.tar.lz yuzu-f3f57f90fed6d1c3b478c9fceb91a54579b4947d.tar.xz yuzu-f3f57f90fed6d1c3b478c9fceb91a54579b4947d.tar.zst yuzu-f3f57f90fed6d1c3b478c9fceb91a54579b4947d.zip |
Diffstat (limited to 'src/core/hle/service/set')
-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; } |