diff --git a/BizHawk.Emulation/Interfaces/IEmulator.cs b/BizHawk.Emulation/Interfaces/IEmulator.cs index 391f2c986e..d2365fcc41 100644 --- a/BizHawk.Emulation/Interfaces/IEmulator.cs +++ b/BizHawk.Emulation/Interfaces/IEmulator.cs @@ -14,7 +14,7 @@ namespace BizHawk // note that most cores expect you to call SoundProvider.GetSamples() after each FrameAdvance() // please do this, even when rendersound = false - void FrameAdvance(bool render, bool rendersound); + void FrameAdvance(bool render, bool rendersound = true); int Frame { get; } int LagCount { get; set; } diff --git a/BizHawk.MultiClient/MainForm.cs b/BizHawk.MultiClient/MainForm.cs index 76efd7efa0..3278c9f3ba 100644 --- a/BizHawk.MultiClient/MainForm.cs +++ b/BizHawk.MultiClient/MainForm.cs @@ -1999,7 +1999,7 @@ namespace BizHawk.MultiClient if (Global.Config.SkipLagFrame && Global.Emulator.IsLagFrame && frameProgressTimeElapsed) { - Global.Emulator.FrameAdvance(true, true); + Global.Emulator.FrameAdvance(true); } if (Global.ClientControls["Frame Advance"] || PressFrameAdvance) @@ -2116,7 +2116,7 @@ namespace BizHawk.MultiClient //======================================= MemoryPulse.Pulse(); - Global.Emulator.FrameAdvance(!throttle.skipnextframe, true); + Global.Emulator.FrameAdvance(!throttle.skipnextframe); MemoryPulse.Pulse(); //======================================= if (CurrAviWriter != null) @@ -3278,7 +3278,7 @@ namespace BizHawk.MultiClient for (int j = 0; j < frameskip; j++) { StepRunLoop_Core(); - Global.Emulator.FrameAdvance(true, true); //Frame advance + Global.Emulator.FrameAdvance(true); //Frame advance //Global.RenderPanel.Render(Global.Emulator.VideoProvider); if (gifSpeed > 0)