Fix unidasm compilation.

This commit is contained in:
Aaron Giles 2010-09-08 19:25:41 +00:00
parent 493395ee81
commit 446df7bd1f
2 changed files with 3 additions and 3 deletions

View File

@ -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) 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); extern CPU_DISASSEMBLE( asap );
return asap_disassemble(buffer, pc, oprom, opram); return CPU_DISASSEMBLE_NAME(asap)(NULL, buffer, pc, oprom, opram, 0);
} }

View File

@ -43,7 +43,7 @@ INLINE char *src2(UINT32 op, int scale)
return temp; 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); UINT32 op = oprom[0] | (oprom[1] << 8) | (oprom[2] << 16) | (oprom[3] << 24);
int opcode = op >> 27; int opcode = op >> 27;