summaryrefslogtreecommitdiff
path: root/apps/plugins/jewels.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-03-28 09:21:27 +0000
committerNils Wallménius <nils@rockbox.org>2009-03-28 09:21:27 +0000
commit24ae50699d0b467497c4584945917720347550db (patch)
tree789c527fee16263399ab106b03a1f9e8d1f6b77b /apps/plugins/jewels.c
parentdca04925c60da528c4713e5066b877736f125510 (diff)
Jewels: accept FS#9947 changing 'Resume Game' in the game menu to 'Resume Saved Game' to be less confusing. Bring up the in-game menu using the regular menu button on h100/h300/gigabeat S. Add keymap to the manual for gigabeat S
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20561 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/jewels.c')
-rw-r--r--apps/plugins/jewels.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/jewels.c b/apps/plugins/jewels.c
index 00839af48d..9fa9a2e413 100644
--- a/apps/plugins/jewels.c
+++ b/apps/plugins/jewels.c
@@ -59,6 +59,7 @@ PLUGIN_HEADER
#define JEWELS_LEFT BUTTON_LEFT
#define JEWELS_RIGHT BUTTON_RIGHT
#define JEWELS_SELECT BUTTON_SELECT
+#define JEWELS_MENU BUTTON_MODE
#define JEWELS_CANCEL BUTTON_OFF
#define JEWELS_RC_CANCEL BUTTON_RC_STOP
@@ -133,6 +134,7 @@ CONFIG_KEYPAD == SANSA_M200_PAD
#define JEWELS_LEFT BUTTON_LEFT
#define JEWELS_RIGHT BUTTON_RIGHT
#define JEWELS_SELECT BUTTON_SELECT
+#define JEWELS_MENU BUTTON_MENU
#define JEWELS_CANCEL BUTTON_BACK
#elif CONFIG_KEYPAD == MROBE100_PAD
@@ -355,7 +357,7 @@ struct jewels_menu {
{"Jewels", false, 0, 6,
{{"New Game", MRES_NEW},
{"Puzzle", MRES_PUZZLE},
- {"Resume Game", MRES_RESUME},
+ {"Resume Saved Game", MRES_RESUME},
{"High Scores", MRES_SCORES},
{"Help", MRES_HELP},
{"Quit", MRES_QUIT}}},
@@ -1904,6 +1906,9 @@ static int jewels_main(struct game_context* bj) {
}
break;
+#ifdef JEWELS_MENU
+ case JEWELS_MENU:
+#endif
case (JEWELS_SELECT|BUTTON_REPEAT): /* show menu */
if(!inmenu) inmenu = true;
break;