mirror of https://github.com/snes9xgit/snes9x.git
Use 2 here.
This commit is contained in:
parent
fb80f48be5
commit
0208dfc980
2
msu1.cpp
2
msu1.cpp
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue