소스 검색

sm/controller: Correct return value of QueryPointerBufferSize

This should be returning a u16 according to Switch Brew.
Lioncash 8 년 전
부모
커밋
5752454629
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/core/hle/service/sm/controller.cpp

+ 1 - 1
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");
 }