diff options
Diffstat (limited to 'src/mame/audio/leland.cpp')
-rw-r--r-- | src/mame/audio/leland.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mame/audio/leland.cpp b/src/mame/audio/leland.cpp index 43719f7161a..3013f95dcd5 100644 --- a/src/mame/audio/leland.cpp +++ b/src/mame/audio/leland.cpp @@ -638,6 +638,9 @@ WRITE16_MEMBER( leland_80186_sound_device::ataxx_dac_control ) m_dac2vol->write(((data >> 3) & 7) << 5); m_dac3vol->write(((data >> 6) & 3) << 6); return; + case 0x21: + dac_w(space, 3, data, mem_mask); + return; } } @@ -669,14 +672,6 @@ WRITE16_MEMBER( leland_80186_sound_device::ataxx_dac_control ) return; } break; - default: - switch (offset) - { - case 0x21: - dac_w(space, 3, data, mem_mask); - return; - } - break; } logerror("%05X:Unexpected peripheral write %d/%02X = %02X\n", m_audiocpu->device_t::safe_pc(), 5, offset, data); |