diff options
-rw-r--r-- | apps/plugins/xobox.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c index b578ccbf53..2093ab1eab 100644 --- a/apps/plugins/xobox.c +++ b/apps/plugins/xobox.c | |||
@@ -797,17 +797,16 @@ enum plugin_status plugin_start (struct plugin_api *api, void *parameter) | |||
797 | if (rb->global_settings->backlight_timeout > 0) | 797 | if (rb->global_settings->backlight_timeout > 0) |
798 | rb->backlight_set_timeout (1); | 798 | rb->backlight_set_timeout (1); |
799 | 799 | ||
800 | ret = PLUGIN_OK; | ||
801 | |||
800 | randomize (); | 802 | randomize (); |
801 | ret = game_menu (); | 803 | if (game_menu () == MENU_START) { |
802 | if (ret == MENU_START) { | ||
803 | init_game (); | 804 | init_game (); |
804 | ret = xobox_loop (); | 805 | ret = xobox_loop (); |
805 | return ret; | ||
806 | } | 806 | } |
807 | 807 | ||
808 | rb->backlight_set_timeout (rb->global_settings->backlight_timeout); | 808 | rb->backlight_set_timeout (rb->global_settings->backlight_timeout); |
809 | rb->lcd_setfont (FONT_UI); | 809 | rb->lcd_setfont (FONT_UI); |
810 | 810 | ||
811 | 811 | return ret; | |
812 | return PLUGIN_OK; | ||
813 | } | 812 | } |