diff options
author | Nebuleon Fumika | 2013-02-06 02:53:53 -0500 |
---|---|---|
committer | Nebuleon Fumika | 2013-02-06 02:53:53 -0500 |
commit | b08a201ea2de43d70047673114c705a26887ea4b (patch) | |
tree | 7b42878292f93440a4164191b89924b8c2b3e38d | |
parent | 9829c836089c44d5c8cc7e3d0f7007ab33b0cb1a (diff) | |
download | snes9x2005-b08a201ea2de43d70047673114c705a26887ea4b.tar.gz snes9x2005-b08a201ea2de43d70047673114c705a26887ea4b.tar.bz2 snes9x2005-b08a201ea2de43d70047673114c705a26887ea4b.zip |
Allow all audio buffers to get full again before declaring underflow.
-rw-r--r-- | source/nds/entry.cpp | 2 |
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; |