mirror of
https://github.com/holub/mame
synced 2025-10-08 17:37:56 +03:00
fixed lui/ori and lui/addi constant calculation by pretending instructions can be 8 bytes long. (nw)
This commit is contained in:
parent
fadd52ec26
commit
937bfafb3a
@ -221,7 +221,7 @@ protected:
|
|||||||
|
|
||||||
// device_disasm_interface overrides
|
// device_disasm_interface overrides
|
||||||
virtual UINT32 disasm_min_opcode_bytes() const { return 4; }
|
virtual UINT32 disasm_min_opcode_bytes() const { return 4; }
|
||||||
virtual UINT32 disasm_max_opcode_bytes() const { return 4; }
|
virtual UINT32 disasm_max_opcode_bytes() const { return 8; }
|
||||||
virtual offs_t disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options);
|
virtual offs_t disasm_disassemble(char *buffer, offs_t pc, const UINT8 *oprom, const UINT8 *opram, UINT32 options);
|
||||||
|
|
||||||
// CPU registers
|
// CPU registers
|
||||||
|
Loading…
Reference in New Issue
Block a user