mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-24 19:14:40 +00:00
Fix DirectMemoryArea::CanMergeWith
Don't merge dmem areas if the memory types are different.
This commit is contained in:
parent
324c9f1bf0
commit
9bcabc3bc5
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user