bugfixes, state load for new mode
[picodrive.git] / Pico / sound / sound.c
index d49ea68..ab6b7e1 100644 (file)
@@ -140,7 +140,7 @@ void PsndRerate(int preserve_state)
   if (preserve_state) {\r
     // feed it back it's own registers, just like after loading state\r
     memcpy(YM2612GetRegs(), state, 0x200);\r
-    YM2612PicoStateLoad();\r
+    ym2612_unpack_state();\r
     if ((PicoAHW & PAHW_MCD) && !(Pico_mcd->s68k_regs[0x36] & 1) && (Pico_mcd->scd.Status_CDC & 1))\r
       cdda_start_play();\r
   }\r