Disable side effects in some read handlers (nw)

This commit is contained in:
AJR 2017-06-23 16:53:44 -04:00
parent 5a6c24778c
commit 4d63d9d31e
2 changed files with 9 additions and 5 deletions

View File

@ -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;

View File

@ -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();
}