yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Merge pull request #978 from bunnei/fixioctl

nvhost_gpu: Don't over copy IoctlSubmitGpfifo.
This commit is contained in:
bunnei 2018-08-08 19:16:14 -04:00 committed by GitHub
commit 9f48454ea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;
} }