diff options
Diffstat (limited to 'src/devices/cpu/s2650/2650dasm.cpp')
-rw-r--r-- | src/devices/cpu/s2650/2650dasm.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/devices/cpu/s2650/2650dasm.cpp b/src/devices/cpu/s2650/2650dasm.cpp index 6b078177c56..872de095a3b 100644 --- a/src/devices/cpu/s2650/2650dasm.cpp +++ b/src/devices/cpu/s2650/2650dasm.cpp @@ -221,7 +221,7 @@ static char *ADR(int pc) } /* disassemble one instruction at PC into buff. return byte size of instr */ -static offs_t internal_disasm_s2650(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options) +CPU_DISASSEMBLE(s2650) { uint32_t flags = 0; int PC = pc; @@ -866,13 +866,3 @@ static offs_t internal_disasm_s2650(cpu_device *device, std::ostream &stream, of } return (pc - PC) | flags | DASMFLAG_SUPPORTED; } - - -CPU_DISASSEMBLE(s2650) -{ - std::ostringstream stream; - offs_t result = internal_disasm_s2650(device, stream, pc, oprom, opram, options); - std::string stream_str = stream.str(); - strcpy(buffer, stream_str.c_str()); - return result; -} |