diff --git a/extras/gbz80disasm.py b/extras/gbz80disasm.py index b7b2929da..6ab870a23 100644 --- a/extras/gbz80disasm.py +++ b/extras/gbz80disasm.py @@ -10,13 +10,6 @@ from romstr import RomStr spacing = "\t" -# this was originally for renaming freeze maps for a unique name -def random_hash(): - available_chars = string.hexdigits[:16] - return ''.join( - random.choice(available_chars) - for dummy in xrange(5)) - def load_rom(filename="../baserom.gbc"): """loads bytes into memory""" global rom @@ -599,9 +592,6 @@ def find_label(local_address, bank_id=0): return label_entry["label"] return None -def random_asm_label(): - return ".ASM_" + random_hash() - def asm_label(address): # why using a random value when you can use the eff. address? return ".ASM_" + hex(address)[2:]