mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-10 06:01:52 +00:00
kern: fix unaligned map alias buffers
This commit is contained in:
parent
e2e5a2ccc2
commit
bc767742f7
1 changed files with 1 additions and 1 deletions
|
@ -2180,7 +2180,7 @@ namespace ams::kern {
|
|||
this->memory_block_manager.Update(std::addressof(allocator), dst_addr, aligned_src_size / PageSize, dst_state, test_perm, KMemoryAttribute_None);
|
||||
|
||||
/* Set the output address. */
|
||||
*out_addr = dst_addr;
|
||||
*out_addr = dst_addr + (src_start - aligned_src_start);
|
||||
|
||||
/* We succeeded. */
|
||||
cleanup_guard.Cancel();
|
||||
|
|
Loading…
Reference in a new issue