diff options
Diffstat (limited to 'src/devices/cpu/cop400/cop420ds.cpp')
-rw-r--r-- | src/devices/cpu/cop400/cop420ds.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/devices/cpu/cop400/cop420ds.cpp b/src/devices/cpu/cop400/cop420ds.cpp index bf032238687..7c337edb0a1 100644 --- a/src/devices/cpu/cop400/cop420ds.cpp +++ b/src/devices/cpu/cop400/cop420ds.cpp @@ -10,7 +10,7 @@ #include "emu.h" -static offs_t internal_disasm_cop420(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options) +CPU_DISASSEMBLE(cop420) { uint8_t opcode = oprom[0]; uint8_t next_opcode = oprom[1]; @@ -396,13 +396,3 @@ static offs_t internal_disasm_cop420(cpu_device *device, std::ostream &stream, o return bytes | flags | DASMFLAG_SUPPORTED; } - - -CPU_DISASSEMBLE(cop420) -{ - std::ostringstream stream; - offs_t result = internal_disasm_cop420(device, stream, pc, oprom, opram, options); - std::string stream_str = stream.str(); - strcpy(buffer, stream_str.c_str()); - return result; -} |