Skip to content

Commit

Permalink
fix python header
Browse files Browse the repository at this point in the history
  • Loading branch information
BeaEngine committed Jun 23, 2019
1 parent 5973b8e commit 5f5d14a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions headers/BeaEnginePython.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def __init__(self, params = ""):

if re.match("(.*)\.(NDS|NDD|DDS)\.(.*)", params):
self.vvvv = 0b0

if re.match("(.*)\.512\.(.*)", params):
self.LL = 0b10
elif re.match("(.*)\.256\.(.*)", params):
Expand Down Expand Up @@ -575,6 +575,6 @@ def repr(self):
"""
return "{} {:<30} {}".format(
"0x%08x" %(self.seek()),
" ".join("%02x" % ord(b) for b in self.bytes),
" ".join("{:02x}".format(b if type(b) == int else ord(b)) for b in self.bytes),
self.instr.repr
)

0 comments on commit 5f5d14a

Please sign in to comment.