Do not skip SwapBuffer() when skipDrawReason set.

Fixes nothing being rendered with high frameskip ratios.
This commit is contained in:
Stuart Kenny committed 2021-09-06 20:00:50 +01:00
1 parent ae9bf27991
commit da4652aa2a
1 file changed
+1 -3
+1 -3
View File
@@ -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();