diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-06-06 20:43:02 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-06-06 20:43:02 -0500 |
commit | 095ecb39ef3a6db799d61e673578303decf57436 (patch) | |
tree | 7d02860c9bcc0f3233725a8a5efe65e442c44d30 /gbz80disasm.py | |
parent | 49477ae85ca575370da13f95985597fc9d66d5fe (diff) |
remove some code cruft from gbz80disasm
original-commit-id: 48b2237b820fdf0347ad65d31305eeffdea97696
Diffstat (limited to 'gbz80disasm.py')
-rw-r--r-- | gbz80disasm.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gbz80disasm.py b/gbz80disasm.py index b7b2929..6ab870a 100644 --- a/gbz80disasm.py +++ b/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:] |