From 7448c96dcc58130f59b733aa0bc167e53d639f79 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Mon, 8 Oct 2018 20:18:00 -0700 Subject: [PATCH] PSP2: Fix tearing issues (fixes #1211) --- CHANGES | 1 + src/platform/psp2/main.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index c150f5253..cf58c79d2 100644 --- a/CHANGES +++ b/CHANGES @@ -121,6 +121,7 @@ Bugfixes: - GB, GBA Savedata: Fix leaks when loading masked save (fixes mgba.io/i/1197) - Qt: Fix focus issues with load/save state overlay - GB Video: Fix SGB border hole size + - PSP2: Fix tearing issues (fixes mgba.io/i/1211) Misc: - mGUI: Add SGB border configuration option - mGUI: Add support for different settings types diff --git a/src/platform/psp2/main.c b/src/platform/psp2/main.c index 31540b89b..8060d26ae 100644 --- a/src/platform/psp2/main.c +++ b/src/platform/psp2/main.c @@ -36,6 +36,7 @@ static void _drawStart(void) { static void _drawEnd(void) { vita2d_end_drawing(); + vita2d_wait_rendering_done(); vita2d_swap_buffers(); }