mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
(Menu) Forgot some ifdefs
This commit is contained in:
parent
f06e76301e
commit
b293f3b980
1 changed files with 8 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue