diff options
author | yenatch <yenatch@gmail.com> | 2013-06-14 02:19:35 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2013-06-14 02:19:35 -0400 |
commit | a8986d8c1641d5833cc8f07c941ec78e9cb58df5 (patch) | |
tree | c5188ead028ed89de87658df035f8b8e3f78fb55 /gbz80disasm.py | |
parent | 9d4e21cabe1c1e18a7ded4dc3ce6061bfdf96c2f (diff) |
gbz80disasm: only use gbhw/hram constants >= 0xff00
original-commit-id: 2f21ff4ef5f4b26801463db720be32f55cfaf7d4
Diffstat (limited to 'gbz80disasm.py')
-rw-r--r-- | gbz80disasm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbz80disasm.py b/gbz80disasm.py index c1d129c..4975108 100644 --- a/gbz80disasm.py +++ b/gbz80disasm.py @@ -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 |