mirror of
https://github.com/holub/mame
synced 2025-10-07 17:27:06 +03:00
wonder how many undebuggable machines that caused (nw)
This commit is contained in:
parent
1f7e59e420
commit
f96a36330a
@ -89,7 +89,7 @@ generic_latch_8_device::generic_latch_8_device(const machine_config &mconfig, co
|
|||||||
|
|
||||||
READ8_MEMBER( generic_latch_8_device::read )
|
READ8_MEMBER( generic_latch_8_device::read )
|
||||||
{
|
{
|
||||||
if (!has_separate_acknowledge())
|
if (!has_separate_acknowledge() && !machine().side_effect_disabled())
|
||||||
set_latch_written(false);
|
set_latch_written(false);
|
||||||
return m_latched_value;
|
return m_latched_value;
|
||||||
}
|
}
|
||||||
@ -121,7 +121,8 @@ WRITE_LINE_MEMBER( generic_latch_8_device::clear_w )
|
|||||||
|
|
||||||
READ8_MEMBER( generic_latch_8_device::acknowledge_r )
|
READ8_MEMBER( generic_latch_8_device::acknowledge_r )
|
||||||
{
|
{
|
||||||
set_latch_written(false);
|
if (!machine().side_effect_disabled())
|
||||||
|
set_latch_written(false);
|
||||||
return space.unmap();
|
return space.unmap();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -171,7 +172,7 @@ generic_latch_16_device::generic_latch_16_device(const machine_config &mconfig,
|
|||||||
|
|
||||||
READ16_MEMBER( generic_latch_16_device::read )
|
READ16_MEMBER( generic_latch_16_device::read )
|
||||||
{
|
{
|
||||||
if (!has_separate_acknowledge())
|
if (!has_separate_acknowledge() && !machine().side_effect_disabled())
|
||||||
set_latch_written(false);
|
set_latch_written(false);
|
||||||
return m_latched_value;
|
return m_latched_value;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user