コード例 #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++;
            }
        }