forked from len0rd/rockbox
Pass plugin api pointer to funtion directly, fixes crashes when doing incremental builds. Fix incorrect backlight changes in rockblox introduced recently.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14373 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
735ab889d2
commit
767c0ec589
20 changed files with 54 additions and 51 deletions
|
@ -2334,7 +2334,7 @@ bool launch_wormlet(void)
|
|||
rb->lcd_clear_display();
|
||||
|
||||
/* Turn off backlight timeout */
|
||||
backlight_force_on(); /* backlight control in lib/helper.c */
|
||||
backlight_force_on(rb); /* backlight control in lib/helper.c */
|
||||
|
||||
/* start the game */
|
||||
while (game_result == 1)
|
||||
|
@ -2344,7 +2344,7 @@ bool launch_wormlet(void)
|
|||
{
|
||||
case 2:
|
||||
/* Turn on backlight timeout (revert to settings) */
|
||||
backlight_use_settings(); /* backlight control in lib/helper.c */
|
||||
backlight_use_settings(rb); /* backlight control in lib/helper.c */
|
||||
return false;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue