From ddac7fcefd59bf586969a7cc2c6b13f0153125e1 Mon Sep 17 00:00:00 2001 From: zeromus Date: Thu, 4 Oct 2012 21:51:34 +0000 Subject: [PATCH] nes-dont generate a framebuffer before the ppu runs. generate it after! --- BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs b/BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs index 116a86b0a6..58fa7b1620 100644 --- a/BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/NES/Core.cs @@ -132,8 +132,6 @@ namespace BizHawk.Emulation.Consoles.Nintendo bool resetSignal; public void FrameAdvance(bool render, bool rendersound) { - videoProvider.FillFrameBuffer(); - lagged = true; if (resetSignal) { @@ -155,6 +153,8 @@ namespace BizHawk.Emulation.Consoles.Nintendo } else islag = false; + + videoProvider.FillFrameBuffer(); } //PAL: