summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-09 01:16:14 +0200
committerGitHub <noreply@github.com>2018-08-09 01:16:14 +0200
commit9f48454ea972bd5df8ea44e9a87b9e5e7b33fad3 (patch)
tree21710e03b8a985716e688495f465c89b5423d40f /src/core
parentMerge pull request #985 from bunnei/rt-r11g11b10 (diff)
parentnvhost_gpu: Don't over copy IoctlSubmitGpfifo. (diff)
downloadyuzu-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.cpp2
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(), &params, output.size());
+ std::memcpy(output.data(), &params, sizeof(IoctlSubmitGpfifo));
return 0;
}