diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-09 01:16:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-09 01:16:14 +0200 |
commit | 9f48454ea972bd5df8ea44e9a87b9e5e7b33fad3 (patch) | |
tree | 21710e03b8a985716e688495f465c89b5423d40f /src/core | |
parent | Merge pull request #985 from bunnei/rt-r11g11b10 (diff) | |
parent | nvhost_gpu: Don't over copy IoctlSubmitGpfifo. (diff) | |
download | yuzu-9f48454ea972bd5df8ea44e9a87b9e5e7b33fad3.tar yuzu-9f48454ea972bd5df8ea44e9a87b9e5e7b33fad3.tar.gz yuzu-9f48454ea972bd5df8ea44e9a87b9e5e7b33fad3.tar.bz2 yuzu-9f48454ea972bd5df8ea44e9a87b9e5e7b33fad3.tar.lz yuzu-9f48454ea972bd5df8ea44e9a87b9e5e7b33fad3.tar.xz yuzu-9f48454ea972bd5df8ea44e9a87b9e5e7b33fad3.tar.zst yuzu-9f48454ea972bd5df8ea44e9a87b9e5e7b33fad3.zip |
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 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; } |