set: Correct return code size of value in GetAvailableLanguageCodes()

The return code should be 32-bit in size.
This commit is contained in:
Lioncash 2018-07-22 23:24:46 -04:00
parent c994cdc532
commit 37aeecd29f

View File

@ -33,9 +33,9 @@ void SET::GetAvailableLanguageCodes(Kernel::HLERequestContext& ctx) {
}}; }};
ctx.WriteBuffer(available_language_codes); ctx.WriteBuffer(available_language_codes);
IPC::ResponseBuilder rb{ctx, 4}; IPC::ResponseBuilder rb{ctx, 3};
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
rb.Push(static_cast<u64>(available_language_codes.size())); rb.Push(static_cast<u32>(available_language_codes.size()));
LOG_DEBUG(Service_SET, "called"); LOG_DEBUG(Service_SET, "called");
} }