aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8b1724e..a5a98de 100644
--- a/source/nds/entry.cpp
+++ b/source/nds/entry.cpp
@@ -1053,7 +1053,7 @@ void S9xProcessSound (unsigned int)
unsigned int Now = getSysTime();
if (Now - LastSoundEmissionTime >= SOUND_EMISSION_INTERVAL)
{
- if(ds2_checkAudiobuff() > AUDIO_BUFFER_COUNT - 1)
+ if(ds2_checkAudiobuff() > AUDIO_BUFFER_COUNT)
{
LastSoundEmissionTime++;
return;