Fix DirectMemoryArea::CanMergeWith

Don't merge dmem areas if the memory types are different.
This commit is contained in:
Stephen Miller 2025-06-10 18:10:46 -05:00
parent 324c9f1bf0
commit 9bcabc3bc5

View File

@ -75,6 +75,9 @@ struct DirectMemoryArea {
if (base + size != next.base) {
return false;
}
if (memory_type != next.memory_type) {
return false;
}
if (is_free != next.is_free) {
return false;
}