summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gbz80disasm.py10
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:]