summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-07-19 09:51:01 -0400
committer AJR <ajrhacker@users.noreply.github.com>2019-07-19 09:51:01 -0400
commit103b33e7380220ad0e62ea9e2c4b1acc97d49bf7 (patch)
tree520d57e3b68be25284bc939ab9d9011a553d559e /src/mame/audio
parenta8221fdf4b343a2982e444c5c226bff64306232a (diff)
bzone, redbaron: Simplify handlers; silence some dummy reads (nw)
Diffstat (limited to 'src/mame/audio')
-rw-r--r--src/mame/audio/bzone.cpp2
-rw-r--r--src/mame/audio/redbaron.cpp2
-rw-r--r--src/mame/audio/redbaron.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/audio/bzone.cpp b/src/mame/audio/bzone.cpp
index 8172d686685..9e0567aa57d 100644
--- a/src/mame/audio/bzone.cpp
+++ b/src/mame/audio/bzone.cpp
@@ -388,7 +388,7 @@ static DISCRETE_SOUND_START(bzone_discrete)
DISCRETE_SOUND_END
-WRITE8_MEMBER(bzone_state::bzone_sounds_w)
+void bzone_state::bzone_sounds_w(uint8_t data)
{
m_discrete->write(BZ_INPUT, data);
diff --git a/src/mame/audio/redbaron.cpp b/src/mame/audio/redbaron.cpp
index edf8a8c901c..4e1f9d2a85b 100644
--- a/src/mame/audio/redbaron.cpp
+++ b/src/mame/audio/redbaron.cpp
@@ -219,7 +219,7 @@ void redbaron_sound_device::sound_stream_update(sound_stream &stream, stream_sam
}
-WRITE8_MEMBER( redbaron_sound_device::sounds_w )
+void redbaron_sound_device::sounds_w(uint8_t data)
{
/* If sound is off, don't bother playing samples */
if( data == m_latch )
diff --git a/src/mame/audio/redbaron.h b/src/mame/audio/redbaron.h
index 2294d905fda..c5c81cb3264 100644
--- a/src/mame/audio/redbaron.h
+++ b/src/mame/audio/redbaron.h
@@ -14,7 +14,7 @@ class redbaron_sound_device : public device_t, public device_sound_interface
public:
redbaron_sound_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- DECLARE_WRITE8_MEMBER( sounds_w );
+ void sounds_w(uint8_t data);
protected:
// device-level overrides