summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/tms57002/tms57kdec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/tms57002/tms57kdec.cpp')
-rw-r--r--src/devices/cpu/tms57002/tms57kdec.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/devices/cpu/tms57002/tms57kdec.cpp b/src/devices/cpu/tms57002/tms57kdec.cpp
index b3b71cb58e4..8cca7ba825f 100644
--- a/src/devices/cpu/tms57002/tms57kdec.cpp
+++ b/src/devices/cpu/tms57002/tms57kdec.cpp
@@ -72,18 +72,11 @@ inline int tms57002_device::sfma(uint32_t st1)
void tms57002_device::decode_error(uint32_t opcode)
{
- uint8_t opr[3];
if(unsupported_inst_warning)
return;
unsupported_inst_warning = 1;
- opr[0] = opcode;
- opr[1] = opcode >> 8;
- opr[2] = opcode >> 16;
-
- std::stringstream stream;
- disasm_disassemble(stream, pc, opr, opr, 0);
- popmessage("tms57002: %s - Contact Mamedev", stream.str());
+ popmessage("tms57002: %06x - Contact Mamedev", opcode);
}
void tms57002_device::decode_cat1(uint32_t opcode, unsigned short *op, cstate *cs)