mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-26 09:02:44 -06:00
Kernel/IPC: fix mapped buffer target address
This commit is contained in:
parent
b6ab4e466b
commit
95bbe2302b
1 changed files with 3 additions and 2 deletions
|
@ -204,8 +204,9 @@ ResultCode TranslateCommandBuffer(SharedPtr<Thread> src_thread, SharedPtr<Thread
|
|||
Memory::IPC_MAPPING_VADDR, Memory::IPC_MAPPING_SIZE, reserve_buffer.get(),
|
||||
Memory::PAGE_SIZE, Kernel::MemoryState::Reserved);
|
||||
|
||||
mapped_buffer_context.push_back({permissions, size, source_address, target_address,
|
||||
std::move(buffer), std::move(reserve_buffer)});
|
||||
mapped_buffer_context.push_back({permissions, size, source_address,
|
||||
target_address + page_offset, std::move(buffer),
|
||||
std::move(reserve_buffer)});
|
||||
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue