1
0
Fork 0
forked from len0rd/rockbox

'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
This commit is contained in:
Marcoen Hirschberg 2006-08-11 12:48:36 +00:00
parent ed70da26bd
commit d24ed9987b
5 changed files with 205 additions and 205 deletions

View file

@ -322,29 +322,29 @@ static void do_opt_menu(void)
int result;
static const struct opt_items onoff[2] = {
{ "Off", 0 },
{ "On" , 0 },
{ "Off", -1 },
{ "On" , -1 },
};
static const struct opt_items fullscreen[]= {
{ "Off", 0 },
{ "Fullscreen", 0 },
{ "Full - Maintain Ratio", 0 },
{ "Off", -1 },
{ "Fullscreen", -1 },
{ "Full - Maintain Ratio", -1 },
};
static const struct opt_items frameskip[]= {
{ "3 Max", 0 },
{ "4 Max", 0 },
{ "5 Max", 0 },
{ "6 Max", 0 },
{ "3 Max", -1 },
{ "4 Max", -1 },
{ "5 Max", -1 },
{ "6 Max", -1 },
};
static const struct menu_item items[] = {
{"Max Frameskip", 0 },
{"Sound" , 0 },
{"Stats" , 0 },
{"Fullscreen" , 0 },
{"Set Keys (Buggy)", 0 },
{ "Max Frameskip", NULL },
{ "Sound" , NULL },
{ "Stats" , NULL },
{ "Fullscreen" , NULL },
{ "Set Keys (Buggy)", NULL },
};
m = rb->menu_init(items, sizeof(items) / sizeof(*items), NULL, NULL, NULL, NULL);