summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/v60/v60d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/v60/v60d.cpp')
-rw-r--r--src/devices/cpu/v60/v60d.cpp23
1 files changed, 2 insertions, 21 deletions
diff --git a/src/devices/cpu/v60/v60d.cpp b/src/devices/cpu/v60/v60d.cpp
index 0438b1fa095..70fcdab8296 100644
--- a/src/devices/cpu/v60/v60d.cpp
+++ b/src/devices/cpu/v60/v60d.cpp
@@ -1484,35 +1484,16 @@ static int (*const dasm_optable[256])(unsigned ipc, unsigned pc, std::ostream &s
/* 0xFF */ dopCLRTLB
};
-static offs_t internal_disasm_v60(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options)
+CPU_DISASSEMBLE(v60)
{
rombase = oprom;
pcbase = pc;
return dasm_optable[oprom[0]](pc, pc+1, stream) | DASMFLAG_SUPPORTED;
}
-CPU_DISASSEMBLE(v60)
-{
- std::ostringstream stream;
- offs_t result = internal_disasm_v60(device, stream, pc, oprom, opram, options);
- std::string stream_str = stream.str();
- strcpy(buffer, stream_str.c_str());
- return result;
-}
-
-static offs_t internal_disasm_v70(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options)
+CPU_DISASSEMBLE(v70)
{
rombase = oprom;
pcbase = pc;
return dasm_optable[oprom[0]](pc, pc+1, stream) | DASMFLAG_SUPPORTED;
}
-
-CPU_DISASSEMBLE(v70)
-{
- std::ostringstream stream;
- offs_t result = internal_disasm_v70(device, stream, pc, oprom, opram, options);
- std::string stream_str = stream.str();
- strcpy(buffer, stream_str.c_str());
- return result;
-}
-