aboutsummaryrefslogtreecommitdiff
path: root/source/nds/entry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/nds/entry.cpp')
-rw-r--r--source/nds/entry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nds/entry.cpp b/source/nds/entry.cpp
index de30332..18802a0 100644
--- a/source/nds/entry.cpp
+++ b/source/nds/entry.cpp
@@ -987,7 +987,7 @@ void S9xProcessSound (unsigned int)
unsigned int Now = getSysTime();
if (Now - LastSoundEmissionTime >= SOUND_EMISSION_INTERVAL)
{
- if(ds2_checkAudiobuff() > 4)
+ if(ds2_checkAudiobuff() > AUDIO_BUFFER_COUNT - 1)
{
LastSoundEmissionTime++;
return;