summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-08 07:15:59 +0200
committerbunnei <bunneidev@gmail.com>2018-08-08 07:49:47 +0200
commit0f834e228496bb956b60218b734a11b6af18a801 (patch)
tree9e4711aea2f8bdf8e8e819838f16e1e685e45b52 /src
parentMerge pull request #964 from Hexagon12/lower-logs (diff)
downloadyuzu-0f834e228496bb956b60218b734a11b6af18a801.tar
yuzu-0f834e228496bb956b60218b734a11b6af18a801.tar.gz
yuzu-0f834e228496bb956b60218b734a11b6af18a801.tar.bz2
yuzu-0f834e228496bb956b60218b734a11b6af18a801.tar.lz
yuzu-0f834e228496bb956b60218b734a11b6af18a801.tar.xz
yuzu-0f834e228496bb956b60218b734a11b6af18a801.tar.zst
yuzu-0f834e228496bb956b60218b734a11b6af18a801.zip
Diffstat (limited to 'src')
-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;
}