set: Correct return code size of value in GetAvailableLanguageCodes()
The return code should be 32-bit in size.
This commit is contained in:
parent
c994cdc532
commit
37aeecd29f
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue