예제 #1
0
파일: VBANext.cs 프로젝트: stuff2600/RAEmus
        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++;
            }
        }
예제 #2
0
        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++;
            }
        }
예제 #3
0
        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++;
            }
        }