summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/f8/f8dasm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/f8/f8dasm.cpp')
-rw-r--r--src/devices/cpu/f8/f8dasm.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/devices/cpu/f8/f8dasm.cpp b/src/devices/cpu/f8/f8dasm.cpp
index c67a1372c2d..4c44aa2c424 100644
--- a/src/devices/cpu/f8/f8dasm.cpp
+++ b/src/devices/cpu/f8/f8dasm.cpp
@@ -9,7 +9,7 @@ static const char *const rname[16] = {
"R8", "J", "HU", "HL", "KU", "KL", "QU", "QL"
};
-static offs_t internal_disasm_f8(cpu_device *device, std::ostream &stream, offs_t pc, const uint8_t *oprom, const uint8_t *opram, int options)
+CPU_DISASSEMBLE(f8)
{
unsigned size = 0;
uint8_t op = oprom[size++];
@@ -532,13 +532,3 @@ static offs_t internal_disasm_f8(cpu_device *device, std::ostream &stream, offs_
return size;
}
-
-
-CPU_DISASSEMBLE(f8)
-{
- std::ostringstream stream;
- offs_t result = internal_disasm_f8(device, stream, pc, oprom, opram, options);
- std::string stream_str = stream.str();
- strcpy(buffer, stream_str.c_str());
- return result;
-}