diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-06-27 01:08:11 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-06-27 01:08:11 +0000 |
commit | 60b356ea25dca1b103eec7a59ace90a710db31fe (patch) | |
tree | 042bf8e9e7ee698287fa36f85855c9db861d3e49 /apps/games_menu.c | |
parent | b45491df8fd4093eb79235cffb2f68c2e2228bfd (diff) |
Abstracted settings user interface into set_bool, set_int and set_option.
Removed the unnecessary menu entry ids.
Made playlist_shuffle and scroll_speed proper global settings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1220 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/games_menu.c')
-rw-r--r-- | apps/games_menu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/games_menu.c b/apps/games_menu.c index 34405825cd..1d30fbbcce 100644 --- a/apps/games_menu.c +++ b/apps/games_menu.c @@ -31,15 +31,13 @@ #include "sokoban.h" extern void tetris(void); -enum { Tetris, Sokoban, numgames }; - void games_menu(void) { int m; struct menu_items items[] = { - { Tetris, "Tetris", tetris }, - { Sokoban, "Sokoban", sokoban }, + { "Tetris", tetris }, + { "Sokoban", sokoban }, }; m=menu_init( items, sizeof items / sizeof(struct menu_items) ); |