change previous revision to use default value param
This commit is contained in:
parent
51fc8e695c
commit
1b54e3c061
|
@ -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; }
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue