summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/adsp2100/2100dasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/adsp2100/2100dasm.cpp')
-rw-r--r--src/devices/cpu/adsp2100/2100dasm.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/devices/cpu/adsp2100/2100dasm.cpp b/src/devices/cpu/adsp2100/2100dasm.cpp
index 1508d360c81..a126cfa0bcb 100644
--- a/src/devices/cpu/adsp2100/2100dasm.cpp
+++ b/src/devices/cpu/adsp2100/2100dasm.cpp
@@ -233,7 +233,7 @@ static void aluconst(std::ostream &stream, int dest, int op)
/* execute instructions on this CPU until icount expires */
-static offs_t internal_disasm_adsp21xx(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options)
+CPU_DISASSEMBLE(adsp21xx)
{
unsigned int op = oprom[0] | (oprom[1] << 8) | (oprom[2] << 16);
unsigned dasmflags = 0;
@@ -551,14 +551,3 @@ static offs_t internal_disasm_adsp21xx(cpu_device *device, std::ostream &stream,
return 1 | dasmflags | DASMFLAG_SUPPORTED;
}
-
-
-CPU_DISASSEMBLE(adsp21xx)
-{
- std::ostringstream stream;
- offs_t result = internal_disasm_adsp21xx(device, stream, pc, oprom, opram, options);
- std::string stream_str = stream.str();
- strcpy(buffer, stream_str.c_str());
- return result;
-}
-