Skip to content

Commit 0956860

Browse files
authored
Fix gfx segments sometimes not picking up properly the corresponding typed reference. (#499)
1 parent 923c1a2 commit 0956860

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# splat Release Notes
22

3+
* Fix `gfx` segments sometimes not picking up properly the corresponding typed reference.
4+
35
### 0.36.3
46

57
* Fix not generating nonmatching `.s` files for quoted symbols.

src/splat/segtypes/segment.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -811,8 +811,7 @@ def retrieve_sym_type(
811811
items = [
812812
i
813813
for i in items
814-
if i.segment is None
815-
or Segment.visible_ram(self, i.segment)
814+
if (i.segment is None or Segment.visible_ram(self, i.segment))
816815
and (type == i.type)
817816
]
818817

0 commit comments

Comments
 (0)