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

This commit is contained in:
Michael Scire authored and SciresM committed 2020-12-02 06:43:37 -08:00
1 parent 1ca64cf2a1
commit 748893fe77
1 file changed
+1 -1
@@ -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;