aboutsummaryrefslogtreecommitdiff
path: root/source/nds
diff options
context:
space:
mode:
authorNebuleon Fumika2012-12-23 18:03:54 -0500
committerNebuleon Fumika2012-12-23 18:03:54 -0500
commit7a6ffe8a1e241f4308be9867990563a06a335b86 (patch)
tree73f4b7e933548e19f2cc0a127b96852707ff822a /source/nds
parent7701191d82c262ef676b0ddf14575dcc094db05f (diff)
downloadsnesemu-7a6ffe8a1e241f4308be9867990563a06a335b86.tar.gz
snesemu-7a6ffe8a1e241f4308be9867990563a06a335b86.tar.bz2
snesemu-7a6ffe8a1e241f4308be9867990563a06a335b86.zip
Screen tearing-related fix.
Diffstat (limited to 'source/nds')
-rw-r--r--source/nds/gui.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index 4a04efc..d818602 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -4083,6 +4083,7 @@ u32 menu(u16 *screen)
ds2_clearScreen(DUAL_SCREEN, 0);
ds2_flipScreen(DUAL_SCREEN, 1);
+ copy_screen(up_screen_addr, (void*) screen, 0, 0, 256, 192);
ds2_flipScreen(UP_SCREEN, 1); // Flip again because otherwise it flickers
ds2_setBacklight(2);