diff options
| author | 2020-03-23 03:19:30 +0100 | |
|---|---|---|
| committer | 2020-03-23 03:19:30 +0100 | |
| commit | 4afebf26b62f09b08e189cbc6e8516987847388a (patch) | |
| tree | c30ce452ee4f4ea16620b3a99127155c4995a09f | |
| parent | Merge pull request #3477 from FearlessTobi/webapplet-shit (diff) | |
| download | yuzu-4afebf26b62f09b08e189cbc6e8516987847388a.tar.gz yuzu-4afebf26b62f09b08e189cbc6e8516987847388a.tar.xz yuzu-4afebf26b62f09b08e189cbc6e8516987847388a.zip | |
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.
| -rw-r--r-- | src/core/hle/service/sm/controller.cpp | 2 |
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 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) { | |||
| 44 | 44 | ||
| 45 | IPC::ResponseBuilder rb{ctx, 3}; | 45 | IPC::ResponseBuilder rb{ctx, 3}; |
| 46 | rb.Push(RESULT_SUCCESS); | 46 | rb.Push(RESULT_SUCCESS); |
| 47 | rb.Push<u16>(0x500); | 47 | rb.Push<u16>(0x1000); |
| 48 | } | 48 | } |
| 49 | 49 | ||
| 50 | Controller::Controller() : ServiceFramework("IpcController") { | 50 | Controller::Controller() : ServiceFramework("IpcController") { |