yuzu-emu
/
yuzu
Archived
1
0
Fork 0

nvhost_gpu: Don't over copy IoctlSubmitGpfifo.

This commit is contained in:
bunnei 2018-08-08 01:15:59 -04:00
parent 4fa3511a63
commit 0f834e2284
1 changed files with 1 additions and 1 deletions

View File

@ -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.id = 0;
params.fence_out.value = 0; params.fence_out.value = 0;
std::memcpy(output.data(), &params, output.size()); std::memcpy(output.data(), &params, sizeof(IoctlSubmitGpfifo));
return 0; return 0;
} }