kern: General system stability improvements to enhance the user's experience.

This commit is contained in:
Michael Scire
2020-07-24 20:44:15 -07:00
committed by SciresM
parent 2ad9927a88
commit 583899ede3
5 changed files with 20 additions and 4 deletions

View File

@@ -497,7 +497,8 @@ namespace ams::kern::arch::arm64 {
MESOSPHERE_ABORT_UNLESS(force);
const size_t cur_size = std::min(next_entry.block_size - (GetInteger(virt_addr) & (next_entry.block_size - 1)), remaining_pages * PageSize);
remaining_pages -= cur_size / PageSize;
virt_addr += cur_size;
virt_addr += cur_size;
next_valid = impl.ContinueTraversal(std::addressof(next_entry), std::addressof(context));
continue;
}