public void FrameAdvance(bool render, bool rendersound = true) { Frame++; if (Controller["Power"]) { LibVBANext.Reset(Core); } IsLagFrame = LibVBANext.FrameAdvance(Core, GetButtons(), videobuff, soundbuff, out numsamp); if (IsLagFrame) { LagCount++; } }
public void FrameAdvance(bool render, bool rendersound = true) { Frame++; if (Controller["Power"]) { LibVBANext.Reset(Core); } SyncTraceCallback(); IsLagFrame = LibVBANext.FrameAdvance(Core, GetButtons(Controller), videobuff, soundbuff, out numsamp, videopalette); if (IsLagFrame) { LagCount++; } }
public void FrameAdvance(IController controller, bool render, bool rendersound = true) { Frame++; if (controller.IsPressed("Power")) { LibVBANext.Reset(Core); } SyncTraceCallback(); IsLagFrame = LibVBANext.FrameAdvance(Core, GetButtons(controller), _videobuff, _soundbuff, out _numsamp, _videopalette); if (IsLagFrame) { LagCount++; } }