summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2018-08-15 06:16:08 -0400
committerGravatar Lioncash2018-08-15 06:16:10 -0400
commit5752454629190c36aecd08d094e8b2b3160ec228 (patch)
tree1c1f150b8535b791be3a55472d95de06df40df3d /src
parentMerge pull request #1067 from lioncash/init (diff)
downloadyuzu-5752454629190c36aecd08d094e8b2b3160ec228.tar.gz
yuzu-5752454629190c36aecd08d094e8b2b3160ec228.tar.xz
yuzu-5752454629190c36aecd08d094e8b2b3160ec228.zip
sm/controller: Correct return value of QueryPointerBufferSize
This should be returning a u16 according to Switch Brew.
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/sm/controller.cpp2
1 files changed, 1 insertions, 1 deletions
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) {
41void Controller::QueryPointerBufferSize(Kernel::HLERequestContext& ctx) { 41void Controller::QueryPointerBufferSize(Kernel::HLERequestContext& ctx) {
42 IPC::ResponseBuilder rb{ctx, 3}; 42 IPC::ResponseBuilder rb{ctx, 3};
43 rb.Push(RESULT_SUCCESS); 43 rb.Push(RESULT_SUCCESS);
44 rb.Push<u32>(0x500); 44 rb.Push<u16>(0x500);
45 45
46 LOG_WARNING(Service, "(STUBBED) called"); 46 LOG_WARNING(Service, "(STUBBED) called");
47} 47}