Use 2 here.

This commit is contained in:
Brandon Wright 2018-05-27 17:22:51 -05:00
parent fb80f48be5
commit 0208dfc980
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ void S9xMSU1Generate(size_t sample_count)
{
partial_frames += 4410 * (sample_count / 2);
while ((bufPos < (bufEnd - 1)) && partial_frames >= 3204)
while ((bufPos < (bufEnd - 2)) && partial_frames >= 3204)
{
if (MSU1.MSU1_STATUS & AudioPlaying && audioStream)
{