mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-10 07:06:34 +00:00
kern: fix assertion in the multi-region pool partition code
This commit is contained in:
parent
1ca64cf2a1
commit
748893fe77
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ namespace ams::kern {
|
||||||
region_size = it.GetSize();
|
region_size = it.GetSize();
|
||||||
region_pool = GetPoolFromMemoryRegionType(it.GetType());
|
region_pool = GetPoolFromMemoryRegionType(it.GetType());
|
||||||
} else {
|
} else {
|
||||||
MESOSPHERE_ASSERT(it.GetAddress() > region_address + region_size);
|
MESOSPHERE_ASSERT(it.GetAddress() == region_address + region_size);
|
||||||
|
|
||||||
/* Update the size. */
|
/* Update the size. */
|
||||||
region_size = it.GetEndAddress() - region_address;
|
region_size = it.GetEndAddress() - region_address;
|
||||||
|
|
Loading…
Reference in a new issue