mirror of
https://github.com/holub/mame
synced 2025-05-30 17:41:47 +03:00
Fix Python 2 compatibility. Someone can fix Python 3 if they want, but not at the expense of 2.
This commit is contained in:
parent
1938932f80
commit
0fcb2b9ecb
@ -40,7 +40,7 @@ try:
|
||||
chunk = src.read(16)
|
||||
if chunk:
|
||||
for b in chunk:
|
||||
dst.write('0x%02x' % b)
|
||||
dst.write('0x%02x' % ord(b))
|
||||
offs = offs + 1
|
||||
if offs != byteCount:
|
||||
dst.write(',')
|
||||
|
Loading…
Reference in New Issue
Block a user