X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=pico%2Fsound%2Fsound.c;h=6e0db26ca7ccd700a11ebc0c9e4ca3953bd7b37d;hb=af37bca858874b5cbd5ab126eaba1fad6ff7ab72;hp=b1204e2277c5a5e6cbf36355aa9acf58e0b4a0fe;hpb=8a19f430a526d011f593b633ea3811fc534123ea;p=picodrive.git diff --git a/pico/sound/sound.c b/pico/sound/sound.c index b1204e2..6e0db26 100644 --- a/pico/sound/sound.c +++ b/pico/sound/sound.c @@ -107,14 +107,9 @@ static void dac_recalculate(void) PICO_INTERNAL void PsndReset(void) { - void *ym2612_regs; - - // also clear the internal registers+addr line - ym2612_regs = YM2612GetRegs(); - memset(ym2612_regs, 0, 0x200+4); - timers_reset(); - + // PsndRerate calls YM2612Init, which also resets PsndRerate(0); + timers_reset(); }