shithub: pokered

Download patch

ref: e4bce7ed15934f991cfc0b2cce0a33bbfd714b6e
parent: 811529f6a430949bad61d34136798936fe8f8082
author: Bryan Bishop <kanzure@gmail.com>
date: Tue Jan 10 18:42:47 EST 2012

lowercase two-byte ops that don't have params

hg-commit-id: 4b518c1bd0a0


--- a/extras/gbz80disasm.py
+++ b/extras/gbz80disasm.py
@@ -609,7 +609,7 @@
         temp_maybe = maybe_byte
         temp_maybe += ( ord(rom[offset+1]) << 8)
         if temp_maybe in opt_table.keys():
-            opstr = copy(opt_table[temp_maybe][0])
+            opstr = opt_table[temp_maybe][0].lower()
             
             if "x" in opstr:
                 for x in range(0, opstr.count("x")):