NES: savestates now function properly for "SUNSOFT-5B" board, only affects Gimmick (J)?

This commit is contained in:
goyuken 2013-01-09 16:42:00 +00:00
parent b1385b1010
commit 1666febbee
1 changed files with 4 additions and 0 deletions

View File

@ -120,7 +120,11 @@ namespace BizHawk.Emulation.Sound
ser.BeginSection("Sunsoft5BAudio");
ser.Sync("RegNum", ref RegNum);
for (int i = 0; i < pulse.Length; i++)
{
ser.BeginSection("Pulse" + i);
pulse[i].SyncState(ser);
ser.EndSection();
}
ser.EndSection();
}