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 à 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
Nicolas