mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Buildfixes for --disable-menu
This commit is contained in:
parent
785ed87117
commit
27ada9b7b2
@ -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",
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user