Previous 199869 Revisions Next

r36217 Tuesday 3rd March, 2015 at 10:53:10 UTC by Vasantha Crabb
Fix Python 2 compatibility.  Someone can fix Python 3 if they want, but not at the expense of 2.
[src/build]file2str.py

trunk/src/build/file2str.py
r244728r244729
4040            chunk = src.read(16)
4141            if chunk:
4242                for b in chunk:
43                    dst.write('0x%02x' % b)
43                    dst.write('0x%02x' % ord(b))
4444                    offs = offs + 1
4545                    if offs != byteCount:
4646                        dst.write(',')


Previous 199869 Revisions Next


© 1997-2024 The MAME Team