mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(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:
parent
4dc52370c6
commit
dbfff9dff1
@ -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));
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user