diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-08 01:15:59 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2018-08-08 01:49:47 -0400 |
| commit | e0f48e4daf86e5f00a0aeb9d21269ba5ec161260 (patch) | |
| tree | 9e4711aea2f8bdf8e8e819838f16e1e685e45b52 /src/core | |
| parent | 06254058b4b74451e0875edd21a04568d224b6d1 (diff) | |
nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
Diffstat (limited to 'src/core')
| -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 116dabedbe..4cdf7f6135 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; } |
