X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2Fsound%2Fsound.c;h=ab6b7e1c38ae08c3242ad952feb9afa1c5de356b;hb=453d2a6edadbd6a0977b76eba14961006c907f01;hp=d49ea68a646f1249414d0c64163ff864fd879607;hpb=538a6098d484745df10aa4923c69581b81e0c09d;p=picodrive.git diff --git a/Pico/sound/sound.c b/Pico/sound/sound.c index d49ea68..ab6b7e1 100644 --- a/Pico/sound/sound.c +++ b/Pico/sound/sound.c @@ -140,7 +140,7 @@ void PsndRerate(int preserve_state) if (preserve_state) { // feed it back it's own registers, just like after loading state memcpy(YM2612GetRegs(), state, 0x200); - YM2612PicoStateLoad(); + ym2612_unpack_state(); if ((PicoAHW & PAHW_MCD) && !(Pico_mcd->s68k_regs[0x36] & 1) && (Pico_mcd->scd.Status_CDC & 1)) cdda_start_play(); }