From 4afebf26b62f09b08e189cbc6e8516987847388a Mon Sep 17 00:00:00 2001 From: FearlessTobi Date: Mon, 23 Mar 2020 03:19:30 +0100 Subject: 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. --- src/core/hle/service/sm/controller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/service/sm/controller.cpp b/src/core/hle/service/sm/controller.cpp index c45b285f8..9cca84b31 100644 --- a/src/core/hle/service/sm/controller.cpp +++ b/src/core/hle/service/sm/controller.cpp @@ -44,7 +44,7 @@ void Controller::QueryPointerBufferSize(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); - rb.Push(0x500); + rb.Push(0x1000); } Controller::Controller() : ServiceFramework("IpcController") { -- cgit v1.2.3