mirror of
https://github.com/holub/mame
synced 2025-05-23 22:20:01 +03:00
Similar issue as with ins8154. No whatsnew.
This commit is contained in:
parent
44bbd47830
commit
2c3b3b9d5e
@ -140,8 +140,11 @@ WRITE8_DEVICE_HANDLER_TRAMPOLINE(i8243, i8243_prog_w)
|
||||
|
||||
/* if this is a read opcode, copy result to p2out */
|
||||
if((m_opcode >> 2) == MCS48_EXPANDER_OP_READ)
|
||||
{
|
||||
if (m_readhandler.read != NULL)
|
||||
{
|
||||
m_p[m_opcode & 3] = devcb_call_read8(&m_readhandler, m_opcode & 3);
|
||||
}
|
||||
m_p2out = m_p[m_opcode & 3] & 0x0f;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user