diff options
Diffstat (limited to 'apps/plugins/bubbles.c')
-rw-r--r-- | apps/plugins/bubbles.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/bubbles.c b/apps/plugins/bubbles.c index bc76c15962..32e921338f 100644 --- a/apps/plugins/bubbles.c +++ b/apps/plugins/bubbles.c | |||
@@ -192,7 +192,7 @@ PLUGIN_HEADER | |||
192 | #define MIN_DISTANCE ((BUBBLE_WIDTH*8)/10)*((BUBBLE_HEIGHT*8)/10) | 192 | #define MIN_DISTANCE ((BUBBLE_WIDTH*8)/10)*((BUBBLE_HEIGHT*8)/10) |
193 | 193 | ||
194 | /* global rockbox api */ | 194 | /* global rockbox api */ |
195 | static struct plugin_api* rb; | 195 | static const struct plugin_api* rb; |
196 | 196 | ||
197 | /* levels */ | 197 | /* levels */ |
198 | char level[NUM_LEVELS][BB_LEVEL_HEIGHT][BB_WIDTH] = { | 198 | char level[NUM_LEVELS][BB_LEVEL_HEIGHT][BB_WIDTH] = { |
@@ -2585,7 +2585,7 @@ static int bubbles(struct game_context* bb) { | |||
2585 | /***************************************************************************** | 2585 | /***************************************************************************** |
2586 | * plugin entry point. | 2586 | * plugin entry point. |
2587 | ******************************************************************************/ | 2587 | ******************************************************************************/ |
2588 | enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { | 2588 | enum plugin_status plugin_start(const struct plugin_api* api, const void* parameter) { |
2589 | struct game_context bb; | 2589 | struct game_context bb; |
2590 | bool exit = false; | 2590 | bool exit = false; |
2591 | int position; | 2591 | int position; |