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 | 0f834e228496bb956b60218b734a11b6af18a801 (patch) | |
tree | 9e4711aea2f8bdf8e8e819838f16e1e685e45b52 /src | |
parent | 4fa3511a63519b338ab6d49e5a2ef751b2e1d09a (diff) |
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; } |