mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
(Menu) Forgot some ifdefs
This commit is contained in:
parent
f06e76301e
commit
b293f3b980
@ -2544,14 +2544,19 @@ static int action_ok_delete_entry(const char *path,
|
||||
|
||||
menu_driver_ctl(RARCH_MENU_CTL_PLAYLIST_GET, &playlist);
|
||||
|
||||
if (!strcmp(playlist->conf_path, g_defaults.music_history->conf_path))
|
||||
if (!strcmp(playlist->conf_path, g_defaults.content_history->conf_path))
|
||||
playlist = g_defaults.content_history;
|
||||
#ifdef HAVE_FFMPEG
|
||||
else if (!strcmp(playlist->conf_path, g_defaults.music_history->conf_path))
|
||||
playlist = g_defaults.music_history;
|
||||
else if (!strcmp(playlist->conf_path, g_defaults.video_history->conf_path))
|
||||
playlist = g_defaults.video_history;
|
||||
#endif
|
||||
#ifdef HAVE_IMAGEVIEWER
|
||||
else if (!strcmp(playlist->conf_path, g_defaults.image_history->conf_path))
|
||||
playlist = g_defaults.image_history;
|
||||
else if (!strcmp(playlist->conf_path, g_defaults.content_history->conf_path))
|
||||
playlist = g_defaults.content_history;
|
||||
#endif
|
||||
|
||||
|
||||
playlist_delete_index(playlist, rpl_entry_selection_ptr);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user