aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorNebuleon Fumika2013-03-27 05:14:22 -0400
committerNebuleon Fumika2013-03-27 05:14:22 -0400
commitdbb2dd89f068d381e399cb8a42cb02ef18d08d27 (patch)
tree7f3fb818e13d120260216a8876bcb55e88a125f7 /source
parent0b5f9ad5536d293bcc482d93d0bf636c5d90d398 (diff)
downloadsnes9x2005-dbb2dd89f068d381e399cb8a42cb02ef18d08d27.tar.gz
snes9x2005-dbb2dd89f068d381e399cb8a42cb02ef18d08d27.tar.bz2
snes9x2005-dbb2dd89f068d381e399cb8a42cb02ef18d08d27.zip
Delete the right number of saved states when selecting one of the options.
Diffstat (limited to 'source')
-rw-r--r--source/nds/gui.c4
1 files changed, 2 insertions, 2 deletions
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);