leland: fix missing DAC sounds in later Ataxx-era audio.

This commit is contained in:
mahlemiut 2017-09-08 13:11:09 +12:00
parent 6da08cf304
commit 8e83d54af5

View File

@ -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);