mirror of
https://github.com/citra-emu/citra-canary.git
synced 2024-12-24 17:25:36 +00:00
Kernel/IPC: fix mapped buffer target address
This commit is contained in:
parent
b6ab4e466b
commit
95bbe2302b
|
@ -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