summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/melps4/melps4d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/melps4/melps4d.cpp')
-rw-r--r--src/devices/cpu/melps4/melps4d.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/devices/cpu/melps4/melps4d.cpp b/src/devices/cpu/melps4/melps4d.cpp
index a6a358db3a5..efd199097c5 100644
--- a/src/devices/cpu/melps4/melps4d.cpp
+++ b/src/devices/cpu/melps4/melps4d.cpp
@@ -100,7 +100,7 @@ static const uint8_t m58846_opmap[0xc0] =
em_LA, em_LA, em_LA, em_LA, em_LA, em_LA, em_LA, em_LA, em_LA, em_LA, em_LA, em_LA, em_LA, em_LA, em_LA, em_LA // Bx
};
-static offs_t internal_disasm_m58846(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options)
+CPU_DISASSEMBLE(m58846)
{
uint16_t op = (oprom[0] | oprom[1] << 8) & 0x1ff;
@@ -138,13 +138,3 @@ static offs_t internal_disasm_m58846(cpu_device *device, std::ostream &stream, o
return 1 | em_flags[instr] | DASMFLAG_SUPPORTED;
}
-
-
-CPU_DISASSEMBLE(m58846)
-{
- std::ostringstream stream;
- offs_t result = internal_disasm_m58846(device, stream, pc, oprom, opram, options);
- std::string stream_str = stream.str();
- strcpy(buffer, stream_str.c_str());
- return result;
-}