mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
Fix for spectar sounds [Jim Hernandez]
This commit is contained in:
parent
0ef51bb6fb
commit
84a4bbc183
@ -63,15 +63,15 @@ WRITE8_MEMBER( exidy_state::targ_audio_1_w )
|
||||
|
||||
/* shot */
|
||||
if (FALLING_EDGE(0x02) && !m_samples->playing(0)) m_samples->start(0,1);
|
||||
if (RISING_EDGE(0x02)) m_samples->stop(0);
|
||||
if (RISING_EDGE(0x02)) m_samples->start(0,1);
|
||||
|
||||
/* crash */
|
||||
if (RISING_EDGE(0x20))
|
||||
{
|
||||
if (data & 0x40)
|
||||
m_samples->start(1,2);
|
||||
else
|
||||
m_samples->start(1,0);
|
||||
else
|
||||
m_samples->start(1,2);
|
||||
}
|
||||
|
||||
/* Sspec */
|
||||
@ -137,6 +137,7 @@ static const char *const sample_names[] =
|
||||
};
|
||||
|
||||
|
||||
|
||||
void exidy_state::common_audio_start(int freq)
|
||||
{
|
||||
m_max_freq = freq;
|
||||
|
Loading…
Reference in New Issue
Block a user