mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-02-09 19:25:10 +01:00
kern: fix assertion in the multi-region pool partition code
This commit is contained in:
parent
cc7cf49c88
commit
866310937a
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user