From da4652aa2a6365beee1348c2f56473bb10b70f52 Mon Sep 17 00:00:00 2001 From: Stuart Kenny Date: Mon, 6 Sep 2021 20:00:50 +0100 Subject: [PATCH] Do not skip SwapBuffer() when skipDrawReason set. Fixes nothing being rendered with high frameskip ratios. --- libretro/LibretroGraphicsContext.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libretro/LibretroGraphicsContext.h b/libretro/LibretroGraphicsContext.h index ca684a71c3..ee15e5a1ac 100644 --- a/libretro/LibretroGraphicsContext.h +++ b/libretro/LibretroGraphicsContext.h @@ -51,9 +51,7 @@ public: bool Init(bool cache_context); void SetRenderTarget() override {} void SwapBuffers() override { - if (!gstate_c.skipDrawReason) { - video_cb(RETRO_HW_FRAME_BUFFER_VALID, PSP_CoreParameter().pixelWidth, PSP_CoreParameter().pixelHeight, 0); - } + video_cb(RETRO_HW_FRAME_BUFFER_VALID, PSP_CoreParameter().pixelWidth, PSP_CoreParameter().pixelHeight, 0); } virtual void ContextReset(); virtual void ContextDestroy();