diff options
| author | 2018-02-17 13:59:45 -0500 | |
|---|---|---|
| committer | 2018-02-17 13:59:45 -0500 | |
| commit | 1b64160d835d23141cb150cb1ea9b2ab62b5c835 (patch) | |
| tree | d83adfc30de6b164940e8d92807ead3785ad88de /src | |
| parent | nvhost-ctrl: Stub NVHOST_IOCTL_CTRL_EVENT_WAIT. (diff) | |
| download | yuzu-1b64160d835d23141cb150cb1ea9b2ab62b5c835.tar.gz yuzu-1b64160d835d23141cb150cb1ea9b2ab62b5c835.tar.xz yuzu-1b64160d835d23141cb150cb1ea9b2ab62b5c835.zip | |
Vi: Always write the IGBPBuffer in the RequestBuffer response parcel.
This may break libnx homebrew due to a bug in libnx but is required by official games since they always assume that the buffer will be there.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/vi/vi.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp index 048fe3a6f..e5f196158 100644 --- a/src/core/hle/service/vi/vi.cpp +++ b/src/core/hle/service/vi/vi.cpp | |||
| @@ -325,7 +325,8 @@ protected: | |||
| 325 | void SerializeData() override { | 325 | void SerializeData() override { |
| 326 | // TODO(Subv): Figure out what this value means, writing non-zero here will make libnx try | 326 | // TODO(Subv): Figure out what this value means, writing non-zero here will make libnx try |
| 327 | // to read an IGBPBuffer object from the parcel. | 327 | // to read an IGBPBuffer object from the parcel. |
| 328 | Write<u32_le>(0); | 328 | Write<u32_le>(1); |
| 329 | WriteObject(buffer); | ||
| 329 | Write<u32_le>(0); | 330 | Write<u32_le>(0); |
| 330 | } | 331 | } |
| 331 | 332 | ||