mirror of
https://github.com/holub/mame
synced 2025-10-07 09:25:34 +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 */
|
/* shot */
|
||||||
if (FALLING_EDGE(0x02) && !m_samples->playing(0)) m_samples->start(0,1);
|
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 */
|
/* crash */
|
||||||
if (RISING_EDGE(0x20))
|
if (RISING_EDGE(0x20))
|
||||||
{
|
{
|
||||||
if (data & 0x40)
|
if (data & 0x40)
|
||||||
m_samples->start(1,2);
|
|
||||||
else
|
|
||||||
m_samples->start(1,0);
|
m_samples->start(1,0);
|
||||||
|
else
|
||||||
|
m_samples->start(1,2);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Sspec */
|
/* Sspec */
|
||||||
@ -137,6 +137,7 @@ static const char *const sample_names[] =
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void exidy_state::common_audio_start(int freq)
|
void exidy_state::common_audio_start(int freq)
|
||||||
{
|
{
|
||||||
m_max_freq = freq;
|
m_max_freq = freq;
|
||||||
|
Loading…
Reference in New Issue
Block a user