diff options
author | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-16 23:01:18 +0000 |
---|---|---|
committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2007-08-16 23:01:18 +0000 |
commit | 767c0ec5894f1acaad5e0def12d628c6f21bcf87 (patch) | |
tree | a2fbd9ac23adc395d4587a6c9cb85ba4cc001cb8 /apps/plugins/wormlet.c | |
parent | 735ab889d2bd41fdc8a5bf22d7ce5ed724d58474 (diff) | |
download | rockbox-767c0ec5894f1acaad5e0def12d628c6f21bcf87.tar.gz rockbox-767c0ec5894f1acaad5e0def12d628c6f21bcf87.zip |
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
Diffstat (limited to 'apps/plugins/wormlet.c')
-rw-r--r-- | apps/plugins/wormlet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index a2abdba13a..1c78f33ad0 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c | |||
@@ -2334,7 +2334,7 @@ bool launch_wormlet(void) | |||
2334 | rb->lcd_clear_display(); | 2334 | rb->lcd_clear_display(); |
2335 | 2335 | ||
2336 | /* Turn off backlight timeout */ | 2336 | /* Turn off backlight timeout */ |
2337 | backlight_force_on(); /* backlight control in lib/helper.c */ | 2337 | backlight_force_on(rb); /* backlight control in lib/helper.c */ |
2338 | 2338 | ||
2339 | /* start the game */ | 2339 | /* start the game */ |
2340 | while (game_result == 1) | 2340 | while (game_result == 1) |
@@ -2344,7 +2344,7 @@ bool launch_wormlet(void) | |||
2344 | { | 2344 | { |
2345 | case 2: | 2345 | case 2: |
2346 | /* Turn on backlight timeout (revert to settings) */ | 2346 | /* Turn on backlight timeout (revert to settings) */ |
2347 | backlight_use_settings(); /* backlight control in lib/helper.c */ | 2347 | backlight_use_settings(rb); /* backlight control in lib/helper.c */ |
2348 | return false; | 2348 | return false; |
2349 | break; | 2349 | break; |
2350 | } | 2350 | } |