aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorNebuleon Fumika2013-01-20 17:21:09 -0500
committerNebuleon Fumika2013-01-20 17:21:09 -0500
commit28464433a8526823718e481bc9fcde694e02e102 (patch)
tree08c4f04f883a6a6ea01260f45c5057c9524f5423 /source
parent4c283f54012e18fbeeaedb998051290b7fa2b343 (diff)
downloadsnes9x2005-28464433a8526823718e481bc9fcde694e02e102.tar.gz
snes9x2005-28464433a8526823718e481bc9fcde694e02e102.tar.bz2
snes9x2005-28464433a8526823718e481bc9fcde694e02e102.zip
Show the screenshot for a saved state when touching it once in the Load state row.
Diffstat (limited to 'source')
-rw-r--r--source/nds/gui.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index cd4adf3..fc428f3 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -3668,6 +3668,13 @@ u32 menu(u16 *screen)
else if(current_option->option_type & SUBMENU_TYPE)
choose_menu(current_option->sub_menu);
}
+ else
+ {
+ // Initial selection of a saved state
+ // needs to show its screenshot
+ if(current_option->option_type & ACTION_TYPE)
+ current_option->action_function();
+ }
break;
}