diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-08 19:16:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-08 19:16:14 -0400 |
commit | 9f48454ea972bd5df8ea44e9a87b9e5e7b33fad3 (patch) | |
tree | 21710e03b8a985716e688495f465c89b5423d40f /src | |
parent | cc2526dd51079a82a5f706e4e410ac2ca1b64635 (diff) | |
parent | 0f834e228496bb956b60218b734a11b6af18a801 (diff) |
Merge pull request #978 from bunnei/fixioctl
nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp index 116dabedb..4cdf7f613 100644 --- a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp +++ b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp @@ -147,7 +147,7 @@ u32 nvhost_gpu::SubmitGPFIFO(const std::vector<u8>& input, std::vector<u8>& outp } params.fence_out.id = 0; params.fence_out.value = 0; - std::memcpy(output.data(), ¶ms, output.size()); + std::memcpy(output.data(), ¶ms, sizeof(IoctlSubmitGpfifo)); return 0; } |