1
0
Fork 0
forked from len0rd/rockbox

Don't call a plugin function just 'main()', this will crash the win32 simulator.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7930 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-11-17 18:54:00 +00:00
parent 6a5cc3a767
commit bc8a4e4b8c

View file

@ -174,7 +174,7 @@ static inline void starfield_move_and_draw(struct starfield * starfield)
static struct starfield starfield;
int main(void)
int plugin_main(void)
{
char str_buffer[40];
int button, t_disp=0;
@ -251,7 +251,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
if (rb->global_settings->backlight_timeout > 0)
rb->backlight_set_timeout(1);/* keep the light on */
ret = main();
ret = plugin_main();
return ret;
}