diff options
author | bunnei <bunneidev@gmail.com> | 2017-10-19 03:39:48 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-10-19 03:39:48 +0200 |
commit | 654fae29c1adec90d81b98bd02e9daae7cbe1548 (patch) | |
tree | 9b6920e19b3e93a7224064f57ad30b3f161b030b /src | |
parent | hle_ipc: Parse out buffer X/A/B/B descriptors from incoming command buffer. (diff) | |
download | yuzu-654fae29c1adec90d81b98bd02e9daae7cbe1548.tar yuzu-654fae29c1adec90d81b98bd02e9daae7cbe1548.tar.gz yuzu-654fae29c1adec90d81b98bd02e9daae7cbe1548.tar.bz2 yuzu-654fae29c1adec90d81b98bd02e9daae7cbe1548.tar.lz yuzu-654fae29c1adec90d81b98bd02e9daae7cbe1548.tar.xz yuzu-654fae29c1adec90d81b98bd02e9daae7cbe1548.tar.zst yuzu-654fae29c1adec90d81b98bd02e9daae7cbe1548.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/kernel/hle_ipc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp index fc05c44b4..427642cab 100644 --- a/src/core/hle/kernel/hle_ipc.cpp +++ b/src/core/hle/kernel/hle_ipc.cpp @@ -120,7 +120,7 @@ ResultCode HLERequestContext::WriteToOutgoingCommandBuffer(u32_le* dst_cmdbuf, P HandleTable& dst_table) { ParseCommandBuffer(&cmd_buf[0], false); size_t untranslated_size = data_payload_offset + command_header->data_size; - std::copy_n(cmd_buf.begin(), 64, dst_cmdbuf); + std::copy_n(cmd_buf.begin(), untranslated_size, dst_cmdbuf); if (command_header->enable_handle_descriptor) { size_t command_size = untranslated_size + handle_descriptor_header->num_handles_to_copy + |