(RMenu) Add 'Save Config' to RMenu - for static linked console RA,

library name doesn't seem to get updated when you switch core
and create a new config file
This commit is contained in:
twinaphex 2013-09-30 03:15:51 +02:00
parent 4dc52370c6
commit dbfff9dff1
2 changed files with 7 additions and 0 deletions

View File

@ -1228,6 +1228,8 @@ static int set_setting_action(uint8_t menu_type, unsigned switchvalue, uint64_t
}
break;
#endif
case INGAME_MENU_SAVE_CONFIG:
return menu_set_settings(RGUI_SETTINGS_SAVE_CONFIG, action);
case INGAME_MENU_QUIT_RETROARCH:
return menu_set_settings(RGUI_SETTINGS_QUIT_RARCH, action);
case INGAME_MENU_VIDEO_OPTIONS_MODE:
@ -1736,6 +1738,10 @@ static int select_setting(void *data, uint64_t action)
strlcpy(setting_text, "", sizeof(setting_text));
break;
#endif
case INGAME_MENU_SAVE_CONFIG:
strlcpy(text, "Save Config", sizeof(text));
strlcpy(setting_text, "...", sizeof(setting_text));
break;
case INGAME_MENU_QUIT_RETROARCH:
strlcpy(text, "Quit RetroArch", sizeof(text));
strlcpy(setting_text, "", sizeof(setting_text));

View File

@ -132,6 +132,7 @@ enum
#ifdef HAVE_MULTIMAN
INGAME_MENU_RETURN_TO_MULTIMAN,
#endif
INGAME_MENU_SAVE_CONFIG,
INGAME_MENU_QUIT_RETROARCH,
INGAME_MENU_END,
#ifdef HAVE_SHADER_MANAGER