(XMB) Add more file types for actions

This commit is contained in:
Jean-André Santoni 2014-11-25 11:20:15 +07:00
parent 68b144e6ce
commit c0d80a4e25
2 changed files with 10 additions and 5 deletions

View File

@ -79,6 +79,11 @@ typedef enum
MENU_SETTINGS,
MENU_SETTING_DRIVER,
MENU_SETTING_ACTION,
MENU_SETTING_ACTION_RUN,
MENU_SETTING_ACTION_SAVESTATE,
MENU_SETTING_ACTION_LOADSTATE,
MENU_SETTING_ACTION_SCREENSHOT,
MENU_SETTING_ACTION_RESET,
MENU_SETTING_GROUP,
MENU_SETTING_SUBGROUP,
MENU_SETTING_HORIZONTAL_MENU,

View File

@ -1866,14 +1866,14 @@ static int deferred_push_content_actions(void *data, void *userdata,
menu_list_clear(list);
menu_list_push(list, "Run", "", MENU_SETTING_ACTION, 0);
menu_list_push(list, "Run", "", MENU_SETTING_ACTION_RUN, 0);
if (g_extern.main_is_init && !g_extern.libretro_dummy)
{
menu_list_push(list, "Save State", "", MENU_SETTING_ACTION, 0);
menu_list_push(list, "Load State", "", MENU_SETTING_ACTION, 0);
menu_list_push(list, "Take Screenshot", "", MENU_SETTING_ACTION, 0);
menu_list_push(list, "Reset", "", MENU_SETTING_ACTION, 0);
menu_list_push(list, "Save State", "", MENU_SETTING_ACTION_SAVESTATE, 0);
menu_list_push(list, "Load State", "", MENU_SETTING_ACTION_LOADSTATE, 0);
menu_list_push(list, "Take Screenshot", "", MENU_SETTING_ACTION_SCREENSHOT, 0);
menu_list_push(list, "Reset", "", MENU_SETTING_ACTION_RESET, 0);
}
driver.menu->scroll_indices_size = 0;