Bläddra i källkod

sm/controller: Increase PointerBufferSize

This increases the PointerBufferSize as a lager one is required by some services.
This change is still not hw-accurate, but it is proven to work in Ryujinx.

Instead of using a hardcoded size, we should figure out the specific values for each service in the future. Some of them can be taken from Atmosphere: https://github.com/Atmosphere-NX/Atmosphere/search?q=PointerBufferSize.
FearlessTobi 6 år sedan
förälder
incheckning
4afebf26b6
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/core/hle/service/sm/controller.cpp

+ 1 - 1
src/core/hle/service/sm/controller.cpp

@@ -44,7 +44,7 @@ void Controller::QueryPointerBufferSize(Kernel::HLERequestContext& ctx) {
 
 
     IPC::ResponseBuilder rb{ctx, 3};
     IPC::ResponseBuilder rb{ctx, 3};
     rb.Push(RESULT_SUCCESS);
     rb.Push(RESULT_SUCCESS);
-    rb.Push<u16>(0x500);
+    rb.Push<u16>(0x1000);
 }
 }
 
 
 Controller::Controller() : ServiceFramework("IpcController") {
 Controller::Controller() : ServiceFramework("IpcController") {