mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue