diff options
Diffstat (limited to 'src/devices/cpu/dsp56k/dsp56dsm.cpp')
-rw-r--r-- | src/devices/cpu/dsp56k/dsp56dsm.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/devices/cpu/dsp56k/dsp56dsm.cpp b/src/devices/cpu/dsp56k/dsp56dsm.cpp index 27d80cbfc77..133cfc40509 100644 --- a/src/devices/cpu/dsp56k/dsp56dsm.cpp +++ b/src/devices/cpu/dsp56k/dsp56dsm.cpp @@ -16,7 +16,7 @@ /*****************************/ /* Main disassembly function */ /*****************************/ -static offs_t internal_disasm_dsp56k(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options) +CPU_DISASSEMBLE(dsp56k) { const uint16_t w0 = oprom[0] | (oprom[1] << 8); const uint16_t w1 = oprom[2] | (oprom[3] << 8); @@ -28,13 +28,3 @@ static offs_t internal_disasm_dsp56k(cpu_device *device, std::ostream &stream, o const unsigned size = op.size(); return (size | DASMFLAG_SUPPORTED); } - - -CPU_DISASSEMBLE(dsp56k) -{ - std::ostringstream stream; - offs_t result = internal_disasm_dsp56k(device, stream, pc, oprom, opram, options); - std::string stream_str = stream.str(); - strcpy(buffer, stream_str.c_str()); - return result; -} |