diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-30 09:34:30 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-30 15:08:07 +0100 |
commit | 308bbba8b9d1dbdff196c161e180818a550216d2 (patch) | |
tree | 40d94cd90dc214b6ccd409f3e2cc9f443fdb86a6 /src/core | |
parent | service/set: Implement MakeLanguageCode (diff) | |
download | yuzu-308bbba8b9d1dbdff196c161e180818a550216d2.tar yuzu-308bbba8b9d1dbdff196c161e180818a550216d2.tar.gz yuzu-308bbba8b9d1dbdff196c161e180818a550216d2.tar.bz2 yuzu-308bbba8b9d1dbdff196c161e180818a550216d2.tar.lz yuzu-308bbba8b9d1dbdff196c161e180818a550216d2.tar.xz yuzu-308bbba8b9d1dbdff196c161e180818a550216d2.tar.zst yuzu-308bbba8b9d1dbdff196c161e180818a550216d2.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/service/set/set.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cpp index 0c7f281c9..1afc43f75 100644 --- a/src/core/hle/service/set/set.cpp +++ b/src/core/hle/service/set/set.cpp @@ -112,7 +112,7 @@ void SET::GetLanguageCode(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 4}; rb.Push(RESULT_SUCCESS); - rb.Push(static_cast<u64>(available_language_codes[Settings::values.language_index])); + rb.PushEnum(available_language_codes[Settings::values.language_index]); } SET::SET() : ServiceFramework("set") { |