summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-15 18:25:05 -0400
committerGitHub <noreply@github.com>2018-08-15 18:25:05 -0400
commitcee6a7ab556c892839f2f887d6f5792aebb31bd9 (patch)
tree134f44b137422e857e316875f373befa338c90dd /src
parenta2fa37b49945b3986d5f3b8f25766ec8221c3b1f (diff)
parent5752454629190c36aecd08d094e8b2b3160ec228 (diff)
Merge pull request #1080 from lioncash/ret
sm/controller: Correct return value of QueryPointerBufferSize
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 ae8cd9eeb..1cef73216 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");
}