mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
gbz80disasm: fix data handling
get the scalpel out of there
This commit is contained in:
parent
6630406043
commit
91f7c123f4
@ -848,7 +848,6 @@ def output_bank_opcodes(original_offset, max_byte_count=0x4000, include_last_add
|
|||||||
keep_reading = True
|
keep_reading = True
|
||||||
output += "\n"
|
output += "\n"
|
||||||
elif is_data and offset not in byte_labels.keys():
|
elif is_data and offset not in byte_labels.keys():
|
||||||
print hex(offset), output.split('\n')[-2]
|
|
||||||
is_data = True
|
is_data = True
|
||||||
keep_reading = True
|
keep_reading = True
|
||||||
else:
|
else:
|
||||||
@ -858,6 +857,8 @@ def output_bank_opcodes(original_offset, max_byte_count=0x4000, include_last_add
|
|||||||
if offset in data_tables.keys():
|
if offset in data_tables.keys():
|
||||||
output = output.replace('$%x' % (get_local_address(offset)), data_label(offset).lower())
|
output = output.replace('$%x' % (get_local_address(offset)), data_label(offset).lower())
|
||||||
output += data_label(offset).lower() + '\n'
|
output += data_label(offset).lower() + '\n'
|
||||||
|
is_data = True
|
||||||
|
keep_reading = True
|
||||||
|
|
||||||
first_loop = False
|
first_loop = False
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user