mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-15 03:27:49 +01:00
kern: fix unaligned map alias buffers
This commit is contained in:
parent
e2e5a2ccc2
commit
bc767742f7
@ -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 New Issue
Block a user