forked from len0rd/rockbox
Accept FS #7933 by Mario Lang: bugfix in fireworks plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15078 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
40f5bb3702
commit
9875700627
1 changed files with 3 additions and 4 deletions
|
@ -139,13 +139,12 @@ LCD_RGBPACK(19,10,26) };
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static const struct opt_items autofire_delay_settings[16] = {
|
static const struct opt_items autofire_delay_settings[15] = {
|
||||||
{ "Off", NULL },
|
{ "Off", NULL },
|
||||||
{ "50ms", NULL },
|
{ "50ms", NULL },
|
||||||
{ "100ms", NULL },
|
{ "100ms", NULL },
|
||||||
{ "200ms", NULL },
|
{ "200ms", NULL },
|
||||||
{ "300ms", NULL },
|
{ "300ms", NULL },
|
||||||
{ "300ms", NULL },
|
|
||||||
{ "400ms", NULL },
|
{ "400ms", NULL },
|
||||||
{ "500ms", NULL },
|
{ "500ms", NULL },
|
||||||
{ "600ms", NULL },
|
{ "600ms", NULL },
|
||||||
|
@ -158,7 +157,7 @@ static const struct opt_items autofire_delay_settings[16] = {
|
||||||
{ "4s", NULL }
|
{ "4s", NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
int autofire_delay_values[16] = {
|
int autofire_delay_values[15] = {
|
||||||
0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400 };
|
0, 5, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 200, 300, 400 };
|
||||||
|
|
||||||
static const struct opt_items particle_settings[8] = {
|
static const struct opt_items particle_settings[8] = {
|
||||||
|
@ -334,7 +333,7 @@ void fireworks_menu(void)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
rb->set_option("Auto-Fire", &autofire_delay, INT, autofire_delay_settings, 16, NULL);
|
rb->set_option("Auto-Fire", &autofire_delay, INT, autofire_delay_settings, 15, NULL);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 2:
|
case 2:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue