X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fsound%2Fsound.c;h=cc36a449a753bdef6ccc875ecc868a0766cfc040;hb=3d48f1437fc5e2c556ed900ae25fd4a255d52922;hp=28e6dc453a6c51de321a22c4c3d1b28972b6d8ca;hpb=85f8e92973ca60968cfb844d2119b669ce610c2d;p=picodrive.git diff --git a/Pico/sound/sound.c b/Pico/sound/sound.c index 28e6dc4..cc36a44 100644 --- a/Pico/sound/sound.c +++ b/Pico/sound/sound.c @@ -248,8 +248,10 @@ int sound_render(int offset, int length) SN76496Update(PsndOut+offset, length, stereo); // Add in the stereo FM buffer - if (PicoOpt & 1) + if (PicoOpt & 1) { buf32_updated = YM2612UpdateOne(buf32, length, stereo, 1); + } else + memset32(buf32, 0, length<