mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Setting the width and height to 0 made the frameskip unusable on lakka/libretro with a XU4 with a MALI GPU T628. The result was that bad flickering happened when in frameskip mode. Once it reached 60fps, no flickering, below that flickering. This change fixes the flickering and calls video_cb with the correct height and width.
This commit is contained in:
1 parent
66471feeb2
commit
1f49141c30
1 file changed
+1
-1
@@ -52,7 +52,7 @@ public:
|
||||
void SetRenderTarget() override {}
|
||||
void SwapBuffers() override {
|
||||
if (gstate_c.skipDrawReason) {
|
||||
video_cb(NULL, 0, 0, 0);
|
||||
video_cb(NULL, PSP_CoreParameter().pixelWidth, PSP_CoreParameter().pixelHeight, 0);
|
||||
} else {
|
||||
video_cb(RETRO_HW_FRAME_BUFFER_VALID, PSP_CoreParameter().pixelWidth, PSP_CoreParameter().pixelHeight, 0);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user