summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/vicdual.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-11-12 16:13:48 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-11-12 16:13:48 -0500
commitc188d549658934ae30de9516e0975e792d058f00 (patch)
treec586441e4209539b7ffa2989a28d0353db947ef9 /src/mame/audio/vicdual.cpp
parent5b59f07b1b72576e611fba43e0c63b49553a9a66 (diff)
discrete: Eliminate unnecessary address space argument from handlers (nw)
audio/galaxian: Move configuration to driver files (nw)
Diffstat (limited to 'src/mame/audio/vicdual.cpp')
-rw-r--r--src/mame/audio/vicdual.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/mame/audio/vicdual.cpp b/src/mame/audio/vicdual.cpp
index 1b2f6af170b..e0ab608bd7b 100644
--- a/src/mame/audio/vicdual.cpp
+++ b/src/mame/audio/vicdual.cpp
@@ -143,12 +143,12 @@ WRITE8_MEMBER( vicdual_state::frogs_audio_w )
int new_croak = data & 0x08;
int new_buzzz = data & 0x10;
-// m_discrete->write(space, FROGS_HOP_EN, data & 0x01);
-// m_discrete->write(space, FROGS_JUMP_EN, data & 0x02);
- m_discrete->write(space, FROGS_TONGUE_EN, data & 0x04);
-// m_discrete->write(space, FROGS_CAPTURE_EN, data & 0x08);
-// m_discrete->write(space, FROGS_FLY_EN, data & 0x10);
-// m_discrete->write(space, FROGS_SPLASH_EN, data & 0x80);
+// m_discrete->write(FROGS_HOP_EN, data & 0x01);
+// m_discrete->write(FROGS_JUMP_EN, data & 0x02);
+ m_discrete->write(FROGS_TONGUE_EN, data & 0x04);
+// m_discrete->write(FROGS_CAPTURE_EN, data & 0x08);
+// m_discrete->write(FROGS_FLY_EN, data & 0x10);
+// m_discrete->write(FROGS_SPLASH_EN, data & 0x80);
if (data & 0x01)
m_samples->start(3, 3); // Hop
@@ -454,13 +454,13 @@ WRITE8_MEMBER( vicdual_state::headon_audio_w )
{
if (m_discrete == nullptr)
return;
- m_discrete->write(space, HEADON_HISPEED_PC_EN, data & 0x01);
- m_discrete->write(space, HEADON_SCREECH1_EN, data & 0x02);
- m_discrete->write(space, HEADON_CRASH_EN, data & 0x04);
- m_discrete->write(space, HEADON_HISPEED_CC_EN, data & 0x08);
- m_discrete->write(space, HEADON_SCREECH2_EN, data & 0x10);
- m_discrete->write(space, HEADON_BONUS_EN, data & 0x20);
- m_discrete->write(space, HEADON_CAR_ON_EN, data & 0x40);
+ m_discrete->write(HEADON_HISPEED_PC_EN, data & 0x01);
+ m_discrete->write(HEADON_SCREECH1_EN, data & 0x02);
+ m_discrete->write(HEADON_CRASH_EN, data & 0x04);
+ m_discrete->write(HEADON_HISPEED_CC_EN, data & 0x08);
+ m_discrete->write(HEADON_SCREECH2_EN, data & 0x10);
+ m_discrete->write(HEADON_BONUS_EN, data & 0x20);
+ m_discrete->write(HEADON_CAR_ON_EN, data & 0x40);
}
@@ -468,13 +468,13 @@ WRITE8_MEMBER( vicdual_state::invho2_audio_w )
{
if (m_discrete == nullptr)
return;
- m_discrete->write(space, HEADON_HISPEED_PC_EN, data & 0x10);
- m_discrete->write(space, HEADON_SCREECH1_EN, data & 0x08);
- m_discrete->write(space, HEADON_CRASH_EN, data & 0x80);
- m_discrete->write(space, HEADON_HISPEED_CC_EN, data & 0x40);
- m_discrete->write(space, HEADON_SCREECH2_EN, data & 0x04);
- m_discrete->write(space, HEADON_BONUS_EN, data & 0x02);
- m_discrete->write(space, HEADON_CAR_ON_EN, data & 0x20);
+ m_discrete->write(HEADON_HISPEED_PC_EN, data & 0x10);
+ m_discrete->write(HEADON_SCREECH1_EN, data & 0x08);
+ m_discrete->write(HEADON_CRASH_EN, data & 0x80);
+ m_discrete->write(HEADON_HISPEED_CC_EN, data & 0x40);
+ m_discrete->write(HEADON_SCREECH2_EN, data & 0x04);
+ m_discrete->write(HEADON_BONUS_EN, data & 0x02);
+ m_discrete->write(HEADON_CAR_ON_EN, data & 0x20);
}