diff --git a/src/emu/cpu/asap/asap.c b/src/emu/cpu/asap/asap.c index 2c824e5279e..d99a3f5ebd3 100644 --- a/src/emu/cpu/asap/asap.c +++ b/src/emu/cpu/asap/asap.c @@ -422,8 +422,8 @@ void asap_device::state_string_export(const device_state_entry &entry, astring & offs_t asap_device::disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options) { - extern offs_t asap_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram); - return asap_disassemble(buffer, pc, oprom, opram); + extern CPU_DISASSEMBLE( asap ); + return CPU_DISASSEMBLE_NAME(asap)(NULL, buffer, pc, oprom, opram, 0); } diff --git a/src/emu/cpu/asap/asapdasm.c b/src/emu/cpu/asap/asapdasm.c index a15988c378e..d88ad7b3a6f 100644 --- a/src/emu/cpu/asap/asapdasm.c +++ b/src/emu/cpu/asap/asapdasm.c @@ -43,7 +43,7 @@ INLINE char *src2(UINT32 op, int scale) return temp; } -offs_t asap_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram) +CPU_DISASSEMBLE( asap ) { UINT32 op = oprom[0] | (oprom[1] << 8) | (oprom[2] << 16) | (oprom[3] << 24); int opcode = op >> 27;