summaryrefslogtreecommitdiff
path: root/apps/plugins/pacbox/pacbox.c
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-08-11 12:48:36 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-08-11 12:48:36 +0000
commitd24ed9987b54c16fd73087cf01c27bafcf03dd1c (patch)
treef02b472300bc39fa499e1d5135499aa4f942d001 /apps/plugins/pacbox/pacbox.c
parented70da26bd02ad50b9a7e4d1297cb4e7e43be6d4 (diff)
downloadrockbox-d24ed9987b54c16fd73087cf01c27bafcf03dd1c.tar.gz
rockbox-d24ed9987b54c16fd73087cf01c27bafcf03dd1c.zip
'no voice' is -1 not 0 and menu_items does have a pointer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10527 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pacbox/pacbox.c')
-rw-r--r--apps/plugins/pacbox/pacbox.c42
1 files changed, 21 insertions, 21 deletions
diff --git a/apps/plugins/pacbox/pacbox.c b/apps/plugins/pacbox/pacbox.c
index d7a0becdd0..8acc06ae1d 100644
--- a/apps/plugins/pacbox/pacbox.c
+++ b/apps/plugins/pacbox/pacbox.c
@@ -147,42 +147,42 @@ static bool pacbox_menu(void)
147 bool need_restart = false; 147 bool need_restart = false;
148 148
149 static const struct opt_items noyes[2] = { 149 static const struct opt_items noyes[2] = {
150 { "No", 0 }, 150 { "No", -1 },
151 { "Yes", 0 }, 151 { "Yes", -1 },
152 }; 152 };
153 153
154 static const struct opt_items difficulty_options[2] = { 154 static const struct opt_items difficulty_options[2] = {
155 { "Normal", 0 }, 155 { "Normal", -1 },
156 { "Harder", 0 }, 156 { "Harder", -1 },
157 }; 157 };
158 158
159 static const struct opt_items numlives_options[4] = { 159 static const struct opt_items numlives_options[4] = {
160 { "1", 0 }, 160 { "1", -1 },
161 { "2", 0 }, 161 { "2", -1 },
162 { "3", 0 }, 162 { "3", -1 },
163 { "5", 0 }, 163 { "5", -1 },
164 }; 164 };
165 165
166 static const struct opt_items bonus_options[4] = { 166 static const struct opt_items bonus_options[4] = {
167 { "10000 points", 0 }, 167 { "10000 points", -1 },
168 { "15000 points", 0 }, 168 { "15000 points", -1 },
169 { "20000 points", 0 }, 169 { "20000 points", -1 },
170 { "No bonus", 0 }, 170 { "No bonus", -1 },
171 }; 171 };
172 172
173 static const struct opt_items ghostname_options[2] = { 173 static const struct opt_items ghostname_options[2] = {
174 { "Normal", 0 }, 174 { "Normal", -1 },
175 { "Alternate", 0 }, 175 { "Alternate", -1 },
176 }; 176 };
177 177
178 static const struct menu_item items[] = { 178 static const struct menu_item items[] = {
179 { "Difficulty", 0 }, 179 { "Difficulty", NULL },
180 { "Pacmen Per Game", 0 }, 180 { "Pacmen Per Game", NULL },
181 { "Bonus Life", 0 }, 181 { "Bonus Life", NULL },
182 { "Ghost Names", 0 }, 182 { "Ghost Names", NULL },
183 { "Display FPS", 0 }, 183 { "Display FPS", NULL },
184 { "Restart", 0 }, 184 { "Restart", NULL },
185 { "Quit", 0 }, 185 { "Quit", NULL },
186 }; 186 };
187 187
188 m = rb->menu_init(items, sizeof(items) / sizeof(*items), 188 m = rb->menu_init(items, sizeof(items) / sizeof(*items),