aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorNebuleon Fumika2013-03-27 00:37:40 -0400
committerNebuleon Fumika2013-03-27 00:37:40 -0400
commit688b13d065178dada2974aefbcd18b8a5912af4f (patch)
tree572cfeb590c310d1c367406be56d90435d2d6439 /source
parentb4d2fc616812e4a7f57fe3b4665788ca0ec22698 (diff)
downloadsnes9x2005-688b13d065178dada2974aefbcd18b8a5912af4f.tar.gz
snes9x2005-688b13d065178dada2974aefbcd18b8a5912af4f.tar.bz2
snes9x2005-688b13d065178dada2974aefbcd18b8a5912af4f.zip
Use update method 0 everywhere in the code except that double-buffered update workaround for hangs.
Diffstat (limited to 'source')
-rw-r--r--source/nds/gui.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index bd07af6..0ddd7a4 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -1361,7 +1361,7 @@ u32 play_screen_snapshot(void)
}
}
- ds2_flipScreen(UP_SCREEN, 1);
+ ds2_flipScreen(UP_SCREEN, UP_SCREEN_UPDATE_METHOD);
}
closeBMP(&SbmpInfo);
@@ -1951,7 +1951,7 @@ u32 menu(u16 *screen, bool8 FirstInvocation)
{
ds2_clearScreen(UP_SCREEN, 0);
draw_string_vcenter(up_screen_addr, 0, 88, 256, COLOR_WHITE, msg[MSG_TOP_SCREEN_NO_GAME_LOADED]);
- ds2_flipScreen(UP_SCREEN, 1);
+ ds2_flipScreen(UP_SCREEN, UP_SCREEN_UPDATE_METHOD);
}
else if(SavedStateFileExists(savestate_index))
{
@@ -1978,7 +1978,7 @@ u32 menu(u16 *screen, bool8 FirstInvocation)
{
ds2_clearScreen(UP_SCREEN, 0);
draw_string_vcenter(up_screen_addr, 0, 88, 256, COLOR_WHITE, msg[MSG_TOP_SCREEN_NO_GAME_LOADED]);
- ds2_flipScreen(UP_SCREEN, 1);
+ ds2_flipScreen(UP_SCREEN, UP_SCREEN_UPDATE_METHOD);
}
}
@@ -2052,7 +2052,7 @@ u32 menu(u16 *screen, bool8 FirstInvocation)
{
ds2_clearScreen(UP_SCREEN, 0);
draw_string_vcenter(up_screen_addr, 0, 88, 256, COLOR_WHITE, msg[MSG_TOP_SCREEN_NO_GAME_LOADED]);
- ds2_flipScreen(UP_SCREEN, 1);
+ ds2_flipScreen(UP_SCREEN, UP_SCREEN_UPDATE_METHOD);
}
else if(SavedStateFileExists(delette_savestate_num))
{
@@ -2079,7 +2079,7 @@ u32 menu(u16 *screen, bool8 FirstInvocation)
{
ds2_clearScreen(UP_SCREEN, 0);
draw_string_vcenter(up_screen_addr, 0, 88, 256, COLOR_WHITE, msg[MSG_TOP_SCREEN_NO_GAME_LOADED]);
- ds2_flipScreen(UP_SCREEN, 1);
+ ds2_flipScreen(UP_SCREEN, UP_SCREEN_UPDATE_METHOD);
}
}
@@ -2828,7 +2828,7 @@ u32 menu(u16 *screen, bool8 FirstInvocation)
ds2_clearScreen(UP_SCREEN, 0);
draw_string_vcenter(up_screen_addr, 0, 88, 256, COLOR_WHITE, msg[MSG_TOP_SCREEN_NO_GAME_LOADED]);
- ds2_flipScreen(UP_SCREEN, 1);
+ ds2_flipScreen(UP_SCREEN, UP_SCREEN_UPDATE_METHOD);
// mdelay(500); // Delete this delay
}
@@ -2864,7 +2864,7 @@ u32 menu(u16 *screen, bool8 FirstInvocation)
{
ds2_clearScreen(UP_SCREEN, 0);
draw_string_vcenter(up_screen_addr, 0, 88, 256, COLOR_WHITE, msg[MSG_TOP_SCREEN_NO_GAME_LOADED]);
- ds2_flipScreen(UP_SCREEN, 1);
+ ds2_flipScreen(UP_SCREEN, UP_SCREEN_UPDATE_METHOD);
}
LowFrequencyCPU(); // and back down
@@ -3774,7 +3774,7 @@ u32 menu(u16 *screen, bool8 FirstInvocation)
{
ds2_clearScreen(UP_SCREEN, COLOR_BLACK);
draw_string_vcenter(up_screen_addr, 0, 88, 256, COLOR_WHITE, msg[MSG_TOP_SCREEN_NO_GAME_LOADED]);
- ds2_flipScreen(UP_SCREEN, 1);
+ ds2_flipScreen(UP_SCREEN, UP_SCREEN_UPDATE_METHOD);
}
}
else