From 5752454629190c36aecd08d094e8b2b3160ec228 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 15 Aug 2018 06:16:08 -0400 Subject: sm/controller: Correct return value of QueryPointerBufferSize This should be returning a u16 according to Switch Brew. --- src/core/hle/service/sm/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/core/hle/service/sm/controller.cpp b/src/core/hle/service/sm/controller.cpp index 518a0cc46..b5cb17b3c 100644 --- a/src/core/hle/service/sm/controller.cpp +++ b/src/core/hle/service/sm/controller.cpp @@ -41,7 +41,7 @@ void Controller::DuplicateSessionEx(Kernel::HLERequestContext& ctx) { void Controller::QueryPointerBufferSize(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); - rb.Push(0x500); + rb.Push(0x500); LOG_WARNING(Service, "(STUBBED) called"); } -- cgit v1.2.3