Play_2: small correction (nw)

This commit is contained in:
Robbbert 2016-08-21 17:27:59 +10:00
parent a3d890b8aa
commit 1e544bd0af
2 changed files with 3 additions and 2 deletions

View File

@ -193,6 +193,7 @@ void play_2_state::machine_reset()
m_port06 = 0;
for (UINT8 i = 0; i < 5; i++)
m_segment[i] = 0;
m_1863->oe_w(1);
}
WRITE8_MEMBER( play_2_state::port01_w )
@ -206,7 +207,7 @@ WRITE8_MEMBER( play_2_state::port01_w )
for (UINT8 i = 0; i < 5; i++)
output().set_digit_value(j*10 + i, m_segment[i] & 0x7f);
}
m_1863->oe_w(BIT(data, 7)); // this actually mutes the audio amp, but doing it this way is far easier
m_1863->set_output_gain(0, BIT(data, 7) ? 1.00 : 0.00);
}
WRITE8_MEMBER( play_2_state::port02_w )

View File

@ -1,4 +1,4 @@
<!-- play_5.lay -->
<!-- play_3.lay -->
<!-- 2016-08-12: Initial version. [Robbbert] -->