diff options
author | Robbbert <Robbbert@users.noreply.github.com> | 2016-08-21 17:27:59 +1000 |
---|---|---|
committer | Robbbert <Robbbert@users.noreply.github.com> | 2016-08-21 17:27:59 +1000 |
commit | 1e544bd0af0561d20f034d31c27df749f1ad1ff0 (patch) | |
tree | 2ba57d616940d0d871a76316f578133ca964e50d /src/mame/drivers/play_2.cpp | |
parent | a3d890b8aa9c8fea8c58552ea6b84c3c7f6789cb (diff) |
Play_2: small correction (nw)
Diffstat (limited to 'src/mame/drivers/play_2.cpp')
-rw-r--r-- | src/mame/drivers/play_2.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/play_2.cpp b/src/mame/drivers/play_2.cpp index f372443d15b..a48db4c1b8b 100644 --- a/src/mame/drivers/play_2.cpp +++ b/src/mame/drivers/play_2.cpp @@ -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 ) |