From dbb2dd89f068d381e399cb8a42cb02ef18d08d27 Mon Sep 17 00:00:00 2001 From: Nebuleon Fumika Date: Wed, 27 Mar 2013 05:14:22 -0400 Subject: Delete the right number of saved states when selecting one of the options. --- source/nds/gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/nds/gui.c') diff --git a/source/nds/gui.c b/source/nds/gui.c index 9a3defe..da28820 100644 --- a/source/nds/gui.c +++ b/source/nds/gui.c @@ -2300,7 +2300,7 @@ u32 menu(u16 *screen, bool8 FirstInvocation) bg_screenp_color = COLOR_BG; wait_Allkey_release(0); - if(current_option_num == 1) //delette all + if(current_option_num == 2) //delette all { u32 i, flag; @@ -2335,7 +2335,7 @@ u32 menu(u16 *screen, bool8 FirstInvocation) mdelay(500); } } - else if(current_option_num == 2) //delette single + else if(current_option_num == 1) //delette single { draw_message(down_screen_addr, bg_screenp, 28, 31, 227, 165, bg_screenp_color); -- cgit v1.2.3