summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-15 06:16:08 -0400
committerLioncash <mathew1800@gmail.com>2018-08-15 06:16:10 -0400
commit5752454629190c36aecd08d094e8b2b3160ec228 (patch)
tree1c1f150b8535b791be3a55472d95de06df40df3d /src
parent301baaa94206e3b185f259e6c44bdc8e6c0a3879 (diff)
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) {
void Controller::QueryPointerBufferSize(Kernel::HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(RESULT_SUCCESS);
- rb.Push<u32>(0x500);
+ rb.Push<u16>(0x500);
LOG_WARNING(Service, "(STUBBED) called");
}