You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
generate labels.json automagically in gbz80disasm
This commit is contained in:
@@ -561,7 +561,9 @@ def load_labels(filename="labels.json"):
|
|||||||
if os.path.exists(filename):
|
if os.path.exists(filename):
|
||||||
all_labels = json.loads(open(filename, "r").read())
|
all_labels = json.loads(open(filename, "r").read())
|
||||||
else:
|
else:
|
||||||
print "You must run analyze_incbins.scan_for_predefined_labels() to create \"labels.json\"."
|
print "You must run crystal.scan_for_predefined_labels() to create \"labels.json\". Trying..."
|
||||||
|
import crystal
|
||||||
|
crystal.scan_for_predefined_labels()
|
||||||
|
|
||||||
def find_label(local_address, bank_id=0):
|
def find_label(local_address, bank_id=0):
|
||||||
return None
|
return None
|
||||||
|
Reference in New Issue
Block a user