Explorar el Código

Merge pull request #1080 from lioncash/ret

sm/controller: Correct return value of QueryPointerBufferSize
bunnei hace 8 años
padre
commit
cee6a7ab55
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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");
 }