mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-15 15:25:31 +00:00
sm/controller: Correct return value of QueryPointerBufferSize
This should be returning a u16 according to Switch Brew.
This commit is contained in:
parent
301baaa942
commit
5752454629
|
@ -41,7 +41,7 @@ void Controller::DuplicateSessionEx(Kernel::HLERequestContext& ctx) {
|
||||||
void Controller::QueryPointerBufferSize(Kernel::HLERequestContext& ctx) {
|
void Controller::QueryPointerBufferSize(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::ResponseBuilder rb{ctx, 3};
|
IPC::ResponseBuilder rb{ctx, 3};
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
rb.Push<u32>(0x500);
|
rb.Push<u16>(0x500);
|
||||||
|
|
||||||
LOG_WARNING(Service, "(STUBBED) called");
|
LOG_WARNING(Service, "(STUBBED) called");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue