[hatari-devel] sound.c new state YM2149_Freq_div_2 missing from savestate
[
Thread Index
|
Date Index
|
More lists.tuxfamily.org/hatari-devel Archives
]
To
: Hatari Devel Mailing List <
hatari-devel@xxxxxxxxxxxxxxxxxxx
>
Subject
: [hatari-devel] sound.c new state YM2149_Freq_div_2 missing from savestate
From
: Brad Smith <
rainwarrior@xxxxxxxxx
>
Date
: Tue, 30 Apr 2024 23:01:17 -0400
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714532491; x=1715137291; darn=lists.tuxfamily.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=489JmLxuvUFOP5x9itze/MWPVCSx/0rnQdxkHjN4r5Q=; b=nCvJXSSHS20eClrqd6YIewKvD2pRcicHL/vyw9erUMeEkWgNG+l4R10gQsgG9jxnyx fPGi4X1JMUA0jV6LopZMhdWUGfBO5eeBm3b/9LsSak04tyy2t/EtAo0r2SAN9QWv+U4q 9JqJZ4TRzgsvqUCLRHQombOL+6HU5zFX1dr2HvD1KkfdH+D/PFZfhFrZQ2fnype0/Kru tO9PFLcnc9kd+0hKx5CzR+szUZbEMActHLDC4wdyBiApHDBBjgnGzOd/zDhB6DIT4TRp blVlANvJ/TYLUQSDKZ/zU5o9MFaEO4OkI/xDKsOjPSEyQEeieqVCLS8K8qeiOzGzSPAF Tjjg==
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
Follow-Ups
:
Re: [hatari-devel] sound.c new state YM2149_Freq_div_2 missing from savestate
From:
Nicolas Pomarède
Messages sorted by:
[
date
|
thread
]
Prev by Date:
Re: [hatari-devel] SCC_UnInit closing uninitialized handles in 2.5.0
Next by Date:
Re: [hatari-devel] sound.c new state YM2149_Freq_div_2 missing from savestate
Previous by thread:
Re: [hatari-devel] SCC_UnInit closing uninitialized handles in 2.5.0
Next by thread:
Re: [hatari-devel] sound.c new state YM2149_Freq_div_2 missing from savestate
Mail converted by
MHonArc
2.6.19+
http://listengine.tuxfamily.org/