diff options
Diffstat (limited to 'src/devices/cpu/sc61860/scdasm.cpp')
-rw-r--r-- | src/devices/cpu/sc61860/scdasm.cpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/devices/cpu/sc61860/scdasm.cpp b/src/devices/cpu/sc61860/scdasm.cpp index fce5b8cd608..050dfaa3b1d 100644 --- a/src/devices/cpu/sc61860/scdasm.cpp +++ b/src/devices/cpu/sc61860/scdasm.cpp @@ -152,7 +152,7 @@ static const struct { const char *mnemonic; Adr adr; } table[]={ { nullptr }, { nullptr }, { nullptr }, { nullptr }, { nullptr }, { nullptr }, { nullptr }, { nullptr }, }; -static offs_t internal_disasm_sc61860(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options) +CPU_DISASSEMBLE(sc61860) { const uint8_t *base_oprom = oprom; int oper=*(oprom++); @@ -208,13 +208,3 @@ static offs_t internal_disasm_sc61860(cpu_device *device, std::ostream &stream, } return oprom - base_oprom; } - - -CPU_DISASSEMBLE(sc61860) -{ - std::ostringstream stream; - offs_t result = internal_disasm_sc61860(device, stream, pc, oprom, opram, options); - std::string stream_str = stream.str(); - strcpy(buffer, stream_str.c_str()); - return result; -} |