Buildfixes for --disable-menu

This commit is contained in:
twinaphex 2019-09-14 07:24:26 +02:00
parent 785ed87117
commit 27ada9b7b2
2 changed files with 3 additions and 1 deletions

View File

@ -2268,8 +2268,10 @@ bool retroarch_apply_shader(enum rarch_shader_type type, const char *preset_path
{
retroarch_set_runtime_shader_preset(NULL);
#ifdef HAVE_MENU
/* reflect in shader manager */
menu_shader_manager_set_preset(menu_shader_get(), type, NULL, false);
#endif
/* Display error message */
snprintf(msg, sizeof(msg), "%s %s",

View File

@ -972,7 +972,7 @@ void runtime_update_playlist(playlist_t *playlist, size_t idx)
#ifdef HAVE_MENU
timedate_style = (enum playlist_sublabel_last_played_style_type)settings->uints.playlist_sublabel_last_played_style;
#else
timedate_style = PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS
timedate_style = PLAYLIST_LAST_PLAYED_STYLE_YMD_HMS;
#endif
/* 'Attach' runtime/last played strings */