mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
gbz80disasm: only use gbhw/hram constants >= 0xff00
This commit is contained in:
parent
7213916ccc
commit
2f21ff4ef5
@ -583,7 +583,7 @@ def find_label(local_address, bank_id=0):
|
||||
if local_address in wram_labels.keys():
|
||||
return wram_labels[local_address][-1]
|
||||
for constants in [gbhw_constants, hram_constants]:
|
||||
if local_address in constants.keys():
|
||||
if local_address in constants.keys() and local_address >= 0xff00:
|
||||
return constants[local_address]
|
||||
return None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user