X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=platform%2Fgizmondo%2Femu.c;h=2844fb2590f6ec039942c6043a46ded8e640e1b2;hb=cca8800dfb30dc9d772c3bfd8167b40ab3197616;hp=2c7efb2df16333e3c2cb64842384b4166047c295;hpb=45285368c0fad43f23f90888fde16106bdc0fd52;p=picodrive.git diff --git a/platform/gizmondo/emu.c b/platform/gizmondo/emu.c index 2c7efb2..2844fb2 100644 --- a/platform/gizmondo/emu.c +++ b/platform/gizmondo/emu.c @@ -273,10 +273,8 @@ static void stdbg(const char *fmt, ...) static void updateSound(int len) { - if (PicoOpt&8) len<<=1; - - snd_all_samples += len; - PsndOut += len; + snd_all_samples += len / 2; + PsndOut += len / 2; if (PsndOut - snd_cbuff >= snd_cbuf_samples) { //if (PsndOut - snd_cbuff != snd_cbuf_samples)