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

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


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

-- Brad Smith



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