diff options
Diffstat (limited to 'apps/plugins/xworld')
-rw-r--r-- | apps/plugins/xworld/sys.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/xworld/sys.c b/apps/plugins/xworld/sys.c index 22fc92f7e2..1416a40577 100644 --- a/apps/plugins/xworld/sys.c +++ b/apps/plugins/xworld/sys.c | |||
@@ -311,8 +311,11 @@ static void sys_reset_settings(struct System* sys) | |||
311 | 311 | ||
312 | static struct System* mainmenu_sysptr; | 312 | static struct System* mainmenu_sysptr; |
313 | 313 | ||
314 | static int mainmenu_cb(int action, const struct menu_item_ex *this_item) | 314 | static int mainmenu_cb(int action, |
315 | const struct menu_item_ex *this_item, | ||
316 | struct gui_synclist *this_list) | ||
315 | { | 317 | { |
318 | (void)this_list; | ||
316 | int idx = ((intptr_t)this_item); | 319 | int idx = ((intptr_t)this_item); |
317 | if(action == ACTION_REQUEST_MENUITEM && !mainmenu_sysptr->loaded && (idx == 0 || idx == 8 || idx == 10)) | 320 | if(action == ACTION_REQUEST_MENUITEM && !mainmenu_sysptr->loaded && (idx == 0 || idx == 8 || idx == 10)) |
318 | return ACTION_EXIT_MENUITEM; | 321 | return ACTION_EXIT_MENUITEM; |