mirror of
https://github.com/holub/mame
synced 2025-06-28 23:24:23 +03:00
z80: fix rop() opcode read call
This commit is contained in:
parent
ecdd06577b
commit
2fe44733e5
@ -407,7 +407,7 @@ inline u8 z80_device::opcode_read()
|
|||||||
|
|
||||||
u8 z80_device::rop()
|
u8 z80_device::rop()
|
||||||
{
|
{
|
||||||
u8 res = m_opcodes.read_byte(translate_memory_address(PCD));
|
u8 res = opcode_read();
|
||||||
T(m_m1_cycles - 2);
|
T(m_m1_cycles - 2);
|
||||||
m_refresh_cb((m_i << 8) | (m_r2 & 0x80) | (m_r & 0x7f), 0x00, 0xff);
|
m_refresh_cb((m_i << 8) | (m_r2 & 0x80) | (m_r & 0x7f), 0x00, 0xff);
|
||||||
T(2);
|
T(2);
|
||||||
|
Loading…
Reference in New Issue
Block a user