diff options
author | 2016-11-19 08:40:36 +1100 | |
---|---|---|
committer | 2016-11-19 08:40:36 +1100 | |
commit | 53ef979d6342707434fe3845e71f3d7a01155d9c (patch) | |
tree | 6eace2582e1f3ad2522e110d4201441a5f1c2bc5 /src/devices/cpu/tms57002/tmsmake.py | |
parent | 539196cd977a37ff43c93eaeda3acf91455018a7 (diff) | |
parent | 8566c9cfe9a83dcd45ccb625920209f5f933b897 (diff) |
Merge pull request #1737 from npwoods/dasmstream_tms57002
Changed the tms57002 disassembler to use 'std::ostream &' internally
Diffstat (limited to 'src/devices/cpu/tms57002/tmsmake.py')
-rwxr-xr-x | src/devices/cpu/tms57002/tmsmake.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/tms57002/tmsmake.py b/src/devices/cpu/tms57002/tmsmake.py index 1aaa0fc59e4..19336061c11 100755 --- a/src/devices/cpu/tms57002/tmsmake.py +++ b/src/devices/cpu/tms57002/tmsmake.py @@ -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) |