Permalink
Browse files

applied changes/fixes to ASNDLib. (c) Hermes

git-svn-id: https://devkitpro.svn.sourceforge.net/svnroot/devkitpro/trunk/libogc@2988 258c5a1a-4f63-435d-9564-e8f6d34ab52c
  • Loading branch information...
1 parent bedf45a commit a2a9f31e67bebaa48cd42130800edacc18f2c27c shagkur committed Dec 9, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 libasnd/asndlib.c
View
@@ -202,7 +202,7 @@ static void __dsp_requestcallback(dsptask_t *task)
if(sound_data[snd_chan].flags>>16)
{
- if(!sound_data[snd_chan].delay_samples && !(sound_data[snd_chan].flags & VOICE_PAUSE)) sound_data[snd_chan].tick_counter++;
+ if(!sound_data[snd_chan].delay_samples && !(sound_data[snd_chan].flags & VOICE_PAUSE) && (sound_data_dma.start_addr || sound_data_dma.start_addr2)) sound_data[snd_chan].tick_counter++;
}
snd_chan++;

0 comments on commit a2a9f31

Please sign in to comment.