hle: kernel: Further cleanup and add TIPC helpers.

This commit is contained in:
bunnei
2021-05-08 02:50:47 -07:00
parent d08bd3e062
commit ed25191ee6
2 changed files with 12 additions and 4 deletions

View File

@ -99,7 +99,7 @@ void HLERequestContext::ParseCommandBuffer(const KHandleTable& handle_table, u32
buffer_w_desciptors.push_back(rp.PopRaw<IPC::BufferDescriptorABW>());
}
buffer_c_offset = rp.GetCurrentOffset() + command_header->data_size;
const auto buffer_c_offset = rp.GetCurrentOffset() + command_header->data_size;
// Padding to align to 16 bytes
rp.AlignWithPadding();