mirror of
https://github.com/holub/mame
synced 2025-04-22 16:31:49 +03:00
m68705prg: fix output-before-reset problem (nw)
This commit is contained in:
parent
93c05f94d1
commit
2e570a9a6e
@ -107,11 +107,14 @@ protected:
|
||||
m_addr = 0x0000;
|
||||
m_pb_val = 0xff;
|
||||
|
||||
m_input_poll_timer->adjust(attotime::from_hz(120), 0, attotime::from_hz(120));
|
||||
}
|
||||
|
||||
virtual void machine_reset() override
|
||||
{
|
||||
m_digits[0] = s_7seg[(m_addr >> 0) & 0x0f];
|
||||
m_digits[1] = s_7seg[(m_addr >> 4) & 0x0f];
|
||||
m_digits[2] = s_7seg[(m_addr >> 8) & 0x0f];
|
||||
|
||||
m_input_poll_timer->adjust(attotime::from_hz(120), 0, attotime::from_hz(120));
|
||||
}
|
||||
|
||||
required_ioport m_sw;
|
||||
@ -174,6 +177,8 @@ protected:
|
||||
|
||||
virtual void machine_reset() override
|
||||
{
|
||||
m68705prg_state_base::machine_reset();
|
||||
|
||||
m_sw->field(0x01)->live().value = 0;
|
||||
m_sw->field(0x02)->live().value = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user