summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/atarijsa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/atarijsa.cpp')
-rw-r--r--src/mame/audio/atarijsa.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/audio/atarijsa.cpp b/src/mame/audio/atarijsa.cpp
index 9b6f54ebe3b..77248c18140 100644
--- a/src/mame/audio/atarijsa.cpp
+++ b/src/mame/audio/atarijsa.cpp
@@ -432,8 +432,7 @@ WRITE8_MEMBER( atari_jsa_oki_base_device::wrio_w )
m_oki1_banklo->set_entry((m_oki1_banklo->entry() & 2) | ((data >> 1) & 1));
// reset the YM2151 if needed
- if ((data & 1) == 0)
- m_ym2151->reset();
+ m_ym2151->reset_w(BIT(data, 0));
}
@@ -625,8 +624,7 @@ WRITE8_MEMBER( atari_jsa_i_device::wrio_w )
}
// reset the YM2151 if needed
- if ((data & 1) == 0)
- m_ym2151->reset();
+ m_ym2151->reset_w(BIT(data, 0));
}