Skip to content

Commit

Permalink
Fix filtering another memory dump from memory tool (#728)
Browse files Browse the repository at this point in the history
  • Loading branch information
Speedphoenix authored Nov 30, 2024
1 parent 80036b6 commit 5371e1b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions other/haxelib/hlmem/Memory.hx
Original file line number Diff line number Diff line change
Expand Up @@ -940,12 +940,14 @@ class Memory {
return false;
case Intersect:
for( m in otherMems ) {
if( m.pointerBlock.get(b.addr ) == null )
var b2 = m.pointerBlock.get(b.addr);
if( b2 == null || b2.typePtr != b.typePtr || b2.size != b.size)
return true;
}
case Unique:
for( m in otherMems ) {
if( m.pointerBlock.get(b.addr ) != null )
var b2 = m.pointerBlock.get(b.addr);
if( b2 != null && b2.typePtr == b.typePtr && b2.size == b.size )
return true;
}
}
Expand Down

0 comments on commit 5371e1b

Please sign in to comment.