diff --git a/source/snes9xgx.cpp b/source/snes9xgx.cpp index 4e138c4..c5c94c5 100644 --- a/source/snes9xgx.cpp +++ b/source/snes9xgx.cpp @@ -211,7 +211,6 @@ void setFrameTimerMethod() ***************************************************************************/ extern void S9xInitSync(); extern uint32 prevRenderedFrameCount; -static int videoReset; static int currentMode; void @@ -252,10 +251,8 @@ emulate () FrameTimer = 0; setFrameTimerMethod (); // set frametimer method every time a ROM is loaded - CheckVideo = 1; // force video update + CheckVideo = 2; // force video update prevRenderedFrameCount = IPPU.RenderedFramesCount; - - videoReset = -1; currentMode = GCSettings.render; while(1) // emulation loop diff --git a/source/video.cpp b/source/video.cpp index eb6c2f7..ae9759a 100644 --- a/source/video.cpp +++ b/source/video.cpp @@ -721,8 +721,8 @@ update_video (int width, int height) { vwidth = width; vheight = height; - - if(IPPU.RenderedFramesCount == prevRenderedFrameCount) + + if(CheckVideo == 2 && IPPU.RenderedFramesCount == prevRenderedFrameCount) return; // we haven't rendered any frames yet, so we can't draw anything! // Ensure previous vb has complete