nes-fix a missing variable in apu savestates. fixes nothing.

This commit is contained in:
zeromus 2012-09-28 08:34:02 +00:00
parent 44f64078a3
commit 3095df51c3
1 changed files with 3 additions and 0 deletions

View File

@ -286,6 +286,8 @@ namespace BizHawk.Emulation.Consoles.Nintendo
ser.Sync("mode_cnt", ref mode_cnt);
ser.Sync("period_cnt", ref period_cnt);
ser.Sync("len_cnt", ref len_cnt);
ser.Sync("lenctr_en", ref lenctr_en);
ser.Sync("shift_register", ref shift_register);
@ -741,6 +743,7 @@ namespace BizHawk.Emulation.Consoles.Nintendo
triangle.SyncState(ser);
noise.SyncState(ser);
dmc.SyncState(ser);
SyncIRQ();
}
PulseUnit[] pulse = { new PulseUnit(0), new PulseUnit(1) };