mirror of
https://github.com/holub/mame
synced 2025-06-01 10:31:48 +03:00
Missed this Python script that generates code
This commit is contained in:
parent
7d2a5d1b02
commit
8566c9cfe9
@ -206,7 +206,7 @@ class Instruction:
|
||||
opcode, args = self.GetDasmInfo()
|
||||
args = [", " + a for a in args]
|
||||
print("%scase 0x%02x:" % (prefix, self._id), file=f)
|
||||
print("%s sprintf(buf, \"%s\"%s);" % (prefix, opcode, "".join(args)), file=f)
|
||||
print("%s util::stream_format(stream, \"%s\"%s);" % (prefix, opcode, "".join(args)), file=f)
|
||||
print("%s break;" % prefix, file=f)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user