diff options
author | 2017-09-24 11:41:45 +1000 | |
---|---|---|
committer | 2017-09-24 11:41:45 +1000 | |
commit | a734a3b8e9fbe907a4894c7c8055d3faeac2bfda (patch) | |
tree | 288380af618dfa8b3dac3aea4f2496f0a51407ce /src/mame/audio/vicdual.cpp | |
parent | 56092fd848bff0e9985850cbb8ce11f701a9e7f3 (diff) |
(nw) srcclean - please use UTF-8 for source files, stuff that isn't valid UTF-8 will be nuked, and cleaning it up by hand is annoying
Diffstat (limited to 'src/mame/audio/vicdual.cpp')
-rw-r--r-- | src/mame/audio/vicdual.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mame/audio/vicdual.cpp b/src/mame/audio/vicdual.cpp index e49c35cfb81..9c43f5f3beb 100644 --- a/src/mame/audio/vicdual.cpp +++ b/src/mame/audio/vicdual.cpp @@ -603,28 +603,28 @@ WRITE8_MEMBER( vicdual_state::brdrline_audio_w ) { uint8_t res = data ^ 0xff; -// if(res & 2) // low fuel, MISSING - +// if(res & 2) // low fuel, MISSING + if(res & 8) // end level m_samples->start(3, 3); - + if(res & 0x10) // moving in the brush m_samples->start(5, 5); - + if(res & 0x20) // fire m_samples->start(6, 6); - + if(res & 0x40) // car engine noise m_samples->start(4, 4); if(res & 0x80) // crashes m_samples->start(2, 2); - + //printf("%02x\n",res); } WRITE8_MEMBER( vicdual_state::brdrline_audio_aux_w ) -{ +{ if(data & 0xfc) // coin, unknown which is the trigger m_samples->start(1, 1); else // boot sample |