Re: [hatari-devel] sound.c new state YM2149_Freq_div_2 missing from savestate

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 01/05/2024 à 18:30, Eero Tamminen a écrit :
Hi Nicolas,

On 1.5.2024 15.08, Nicolas Pomarède wrote:
Le 01/05/2024 à 05:01, Brad Smith a écrit :
This flipflop state variable was added in 2.5.0, but it was left out of the savestate. It's subtle, but enough to desynchronize the YM's noise state.

Just needs one more line in Sound_MemorySnapShot_Capture:

MemorySnapShot_Store(&YM2149_Freq_div_2, sizeof(YM2149_Freq_div_2));

https://git.tuxfamily.org/hatari/hatari.git/tree/src/sound.c#n1622 <https://git.tuxfamily.org/hatari/hatari.git/tree/src/sound.c#n1622>

thanks, this is fixed

I don't see fix in repo, did you push it?


I forgot to push :)




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/