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

The return code should be 32-bit in size.
merge-requests/60/head
Lioncash 2018-07-22 23:24:46 +07:00
parent c994cdc532
commit 37aeecd29f
1 changed files with 2 additions and 2 deletions

@ -33,9 +33,9 @@ void SET::GetAvailableLanguageCodes(Kernel::HLERequestContext& ctx) {
}};
ctx.WriteBuffer(available_language_codes);
IPC::ResponseBuilder rb{ctx, 4};
IPC::ResponseBuilder rb{ctx, 3};
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");
}