mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03:00
Disable side effects in some read handlers (nw)
This commit is contained in:
parent
5a6c24778c
commit
4d63d9d31e
@ -103,7 +103,8 @@ bool msm6253_device::shift_out()
|
||||
bool msb = BIT(m_shift_register, 7);
|
||||
|
||||
// shift the bit out, with zero coming in on the other end
|
||||
m_shift_register <<= 1;
|
||||
if (!machine().side_effect_disabled())
|
||||
m_shift_register <<= 1;
|
||||
|
||||
// return the bit
|
||||
return msb;
|
||||
|
@ -170,10 +170,13 @@ WRITE8_MEMBER(upd4701_device::reset_y)
|
||||
|
||||
READ8_MEMBER(upd4701_device::reset_xy)
|
||||
{
|
||||
resetx_w(1);
|
||||
resety_w(1);
|
||||
resetx_w(0);
|
||||
resety_w(0);
|
||||
if (!machine().side_effect_disabled())
|
||||
{
|
||||
resetx_w(1);
|
||||
resety_w(1);
|
||||
resetx_w(0);
|
||||
resety_w(0);
|
||||
}
|
||||
return space.unmap();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user