blob: a321cf45d07689babf4db79824a3819688b69bde (
plain)
1
2
3
4
5
6
7
8
9
|
from __future__ import absolute_import
import json
from . import analyze_incbins
analyze_incbins.scan_for_predefined_labels()
with open('../pokered.sym', 'w') as sym:
for label in json.load(open('labels.json')):
sym.write('{0:x}:{1} {2}\n'.format(label['bank_id'], label['local_pointer'][1:], label['label']))
|