mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Play_2: small correction (nw)
This commit is contained in:
parent
a3d890b8aa
commit
1e544bd0af
@ -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 )
|
||||
|
@ -1,4 +1,4 @@
|
||||
<!-- play_5.lay -->
|
||||
<!-- play_3.lay -->
|
||||
|
||||
<!-- 2016-08-12: Initial version. [Robbbert] -->
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user