kern: fix bugs in MapAlias ipc mappings

This commit is contained in:
Michael Scire committed 2020-07-12 18:17:29 -07:00
1 parent a8d4b10b17
commit e2e5a2ccc2
3 files changed
+11 -9

No files matched your search

@@ -257,7 +257,9 @@ namespace ams::kern {
/* If there's a previous, we should check for coalescing. */
check_coalesce_prev = true;
prev--;
} else if (cur_info.GetSize() > remaining_size) {
}
if (cur_info.GetSize() > remaining_size) {
/* If we need to, create a new block after and insert it. */
KMemoryBlock *new_block = allocator->Allocate();