From ff6032cbdc10f5a5567d50a71d0020b4fd75be0a Mon Sep 17 00:00:00 2001 From: goyuken Date: Wed, 4 Jun 2014 16:21:00 +0000 Subject: [PATCH] bizswan: fix possible desync. all savestates before this commit are invalidated --- .../Consoles/WonderSwan/WonderSwan.cs | 3 +++ output/dll/bizswan.dll | Bin 91648 -> 91648 bytes wonderswan/sound.cpp | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation.Cores/Consoles/WonderSwan/WonderSwan.cs b/BizHawk.Emulation.Cores/Consoles/WonderSwan/WonderSwan.cs index 00267f278f..96dc46f96b 100644 --- a/BizHawk.Emulation.Cores/Consoles/WonderSwan/WonderSwan.cs +++ b/BizHawk.Emulation.Cores/Consoles/WonderSwan/WonderSwan.cs @@ -192,6 +192,9 @@ namespace BizHawk.Emulation.Cores.WonderSwan // write extra copy of stuff we don't use writer.WriteLine(); writer.WriteLine("Frame {0}", Frame); + + // debug + //Console.WriteLine(Util.Hash_SHA1(SaveStateBinary())); } public void LoadStateText(TextReader reader) diff --git a/output/dll/bizswan.dll b/output/dll/bizswan.dll index a2850a7d9d6121ec6e02f7af265993afa1a56bab..390f2df99ac3cbdd32ac5482cfd52643cef1cade 100644 GIT binary patch delta 12301 zcma)?2UrwW*T?4$AS;3lxF8@13RW!JfOXk|QpAFQ4UD2-3}TH&&1)=_*uWJ*uW>XI zMJ0A)Sruai8x~@ZK?Q?-jT*5;F%tRyGpsH8zR$PM^P6+$+uCbybB z6S?5;rlgFzla6fkINF_zC6V-J5=54o9+P&gTUjFE%5Bc#TH)zu&Xy5o#u16xQAPu- zpA#c(XX8$e(+C^yv?3u%xU}rt@0HJw*i3b)xLjeg8#;?(igm^1`)oy7xx-c{FPpF3 zxc0chCSM4jFeh~&OhrFwMYv~$%@U}}Ph37x(eK%{d*-e}OhS2uO)k{R=jD^^D-!Hy zU3Hv)j$xRJ@Mqc9P0CxWLma(jw%j2d_hu7vlt)P`5^jk)p;hJ;ba1_)u976e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c7`@ZyGXl2yI#9ldr*4>)Ae_4mG-Xov9?ceZg4?xaqzj|o53%FZFL?x zg-)-Vs!M`*{H#mRkJTsXSL(Ox^YqOO{)Pa9)X)iYcbH*@;k2Q|aNA&SY=Y?$XjB-D z#sp)cak_DqF~yi}Tw+{q%x-S{1!H^5_z)w>gw(k=D{Us-BE2s4mifz~WXa~c!-&4q zLRqHlm5h;da*5niu9Sz#BjvI3IQdX{f;<`Pz!G_me7$^=e5brvUM{b+juL~BX{~6h OP%3)ljT%nOHvb2rz}Cb7 diff --git a/wonderswan/sound.cpp b/wonderswan/sound.cpp index baf0e77ecd..54147a39be 100644 --- a/wonderswan/sound.cpp +++ b/wonderswan/sound.cpp @@ -383,8 +383,8 @@ namespace MDFN_IEN_WSWAN { // don't need to save any of the blip stuff - NSS(period[4]); - NSS(volume[4]); + NSS(period); + NSS(volume); NSS(voice_volume); NSS(sweep_step);