1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-10 06:01:52 +00:00

kern: fix assertion in the multi-region pool partition code

This commit is contained in:
Michael Scire 2020-12-01 17:03:42 -08:00 committed by SciresM
parent 1ca64cf2a1
commit 748893fe77

View file

@ -68,7 +68,7 @@ namespace ams::kern {
region_size = it.GetSize();
region_pool = GetPoolFromMemoryRegionType(it.GetType());
} else {
MESOSPHERE_ASSERT(it.GetAddress() > region_address + region_size);
MESOSPHERE_ASSERT(it.GetAddress() == region_address + region_size);
/* Update the size. */
region_size = it.GetEndAddress() - region_address;