From 3095df51c3f24470dd654470035da91c669726e2 Mon Sep 17 00:00:00 2001 From: zeromus Date: Fri, 28 Sep 2012 08:34:02 +0000 Subject: [PATCH] nes-fix a missing variable in apu savestates. fixes nothing. --- BizHawk.Emulation/Consoles/Nintendo/NES/APU.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/APU.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/APU.cs index de44f52dcf..69991b2f0f 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/APU.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/APU.cs @@ -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) };