diff options
Diffstat (limited to 'src/devices/cpu/z180/z180dasm.cpp')
-rw-r--r-- | src/devices/cpu/z180/z180dasm.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/devices/cpu/z180/z180dasm.cpp b/src/devices/cpu/z180/z180dasm.cpp index 038b1a5d23d..c5a3d9f0186 100644 --- a/src/devices/cpu/z180/z180dasm.cpp +++ b/src/devices/cpu/z180/z180dasm.cpp @@ -391,7 +391,7 @@ static int offs(int8_t offset) /**************************************************************************** * Disassemble opcode at PC and return number of bytes it takes ****************************************************************************/ -static offs_t internal_disasm_z180(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options) +CPU_DISASSEMBLE(z180) { const z80dasm *d; const char *src, *ixy; @@ -513,13 +513,3 @@ static offs_t internal_disasm_z180(cpu_device *device, std::ostream &stream, off return pos | flags | DASMFLAG_SUPPORTED; } - - -CPU_DISASSEMBLE(z180) -{ - std::ostringstream stream; - offs_t result = internal_disasm_z180(device, stream, pc, oprom, opram, options); - std::string stream_str = stream.str(); - strcpy(buffer, stream_str.c_str()); - return result; -} |