mirror of
https://github.com/holub/mame
synced 2025-10-08 09:30:17 +03:00
Fix unidasm compilation.
This commit is contained in:
parent
493395ee81
commit
446df7bd1f
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user