mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-14 17:16:36 +00:00
kern: fix minor sin
This commit is contained in:
parent
8a9eb85e05
commit
693fb423cb
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ namespace ams::kern {
|
||||||
/* Check memory state. */
|
/* Check memory state. */
|
||||||
const KProcessAddress last_addr = addr + size - 1;
|
const KProcessAddress last_addr = addr + size - 1;
|
||||||
KMemoryBlockManager::const_iterator it = m_memory_block_manager.FindIterator(addr);
|
KMemoryBlockManager::const_iterator it = m_memory_block_manager.FindIterator(addr);
|
||||||
R_TRY(this->CheckMemoryState(out_state, out_perm, out_attr, out_blocks_needed, it, last_addr, state_mask, state, perm_mask, perm, attr_mask, attr, ignore_attr))
|
R_TRY(this->CheckMemoryState(out_state, out_perm, out_attr, out_blocks_needed, it, last_addr, state_mask, state, perm_mask, perm, attr_mask, attr, ignore_attr));
|
||||||
|
|
||||||
/* If the start address isn't aligned, we need a block. */
|
/* If the start address isn't aligned, we need a block. */
|
||||||
if (out_blocks_needed != nullptr && util::AlignDown(GetInteger(addr), PageSize) != it->GetAddress()) {
|
if (out_blocks_needed != nullptr && util::AlignDown(GetInteger(addr), PageSize) != it->GetAddress()) {
|
||||||
|
|
Loading…
Reference in a new issue