summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/emu/cpu/m6809/6309dasm.c2
-rw-r--r--src/emu/cpu/m6809/hd6309.c4
-rw-r--r--src/emu/cpu/m6809/knmidasm.c2
-rw-r--r--src/emu/cpu/m6809/konami.c4
4 files changed, 6 insertions, 6 deletions
diff --git a/src/emu/cpu/m6809/6309dasm.c b/src/emu/cpu/m6809/6309dasm.c
index 630075de67b..716dc59c525 100644
--- a/src/emu/cpu/m6809/6309dasm.c
+++ b/src/emu/cpu/m6809/6309dasm.c
@@ -604,7 +604,7 @@ static const char *const hd6309_tfmregs[16] = {
static const char *const tfm_s[] = { "%s+,%s+", "%s-,%s-", "%s+,%s", "%s,%s+" };
-offs_t hd6309_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
+CPU_DISASSEMBLE( hd6309 )
{
UINT8 opcode, mode, pb, pbm, reg;
const UINT8 *operandarray;
diff --git a/src/emu/cpu/m6809/hd6309.c b/src/emu/cpu/m6809/hd6309.c
index 2fe56695274..fbd729f8c19 100644
--- a/src/emu/cpu/m6809/hd6309.c
+++ b/src/emu/cpu/m6809/hd6309.c
@@ -206,8 +206,8 @@ UINT32 hd6309_device::disasm_max_opcode_bytes() const
offs_t hd6309_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
{
- extern offs_t hd6309_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options);
- return hd6309_disassemble(buffer, pc, oprom, opram, options);
+ extern CPU_DISASSEMBLE( hd6309 );
+ return CPU_DISASSEMBLE_NAME(hd6309)(NULL, buffer, pc, oprom, opram, options);
}
diff --git a/src/emu/cpu/m6809/knmidasm.c b/src/emu/cpu/m6809/knmidasm.c
index 8ea2033de5e..779307d8dab 100644
--- a/src/emu/cpu/m6809/knmidasm.c
+++ b/src/emu/cpu/m6809/knmidasm.c
@@ -1860,7 +1860,7 @@ static const konami_opcode_def op_table[256] = {
/* ff */ { illegal, 0 }
};
-offs_t konami_cpu_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
+CPU_DISASSEMBLE( konami )
{
buffer[0] = '\0';
diff --git a/src/emu/cpu/m6809/konami.c b/src/emu/cpu/m6809/konami.c
index ed09268f4c5..b7b3635f935 100644
--- a/src/emu/cpu/m6809/konami.c
+++ b/src/emu/cpu/m6809/konami.c
@@ -110,8 +110,8 @@ void konami_cpu_device::device_start()
offs_t konami_cpu_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options)
{
- extern offs_t konami_cpu_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options);
- return konami_cpu_disassemble(buffer, pc, oprom, opram, options);
+ extern CPU_DISASSEMBLE( konami );
+ return CPU_DISASSEMBLE_NAME(konami)(NULL, buffer, pc, oprom, opram, options);
}