mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 11:43:00 +00:00
Music files should also obey builtin_mediaplayer_enable (#14967)
Disabling the built in media player should be possible for music files as well. Without this, sound files can not be opened from file browser with cores that support them.
This commit is contained in:
parent
6461928ed4
commit
1ec036fb91
@ -390,13 +390,17 @@ static void filebrowser_parse(
|
||||
if (filebrowser_type == FILEBROWSER_SELECT_COLLECTION)
|
||||
file_type = FILE_TYPE_PLAYLIST_COLLECTION;
|
||||
|
||||
if (path_type == RARCH_CONTENT_MUSIC)
|
||||
file_type = FILE_TYPE_MUSIC;
|
||||
else if (builtin_mediaplayer_enable ||
|
||||
if (builtin_mediaplayer_enable ||
|
||||
builtin_imageviewer_enable)
|
||||
{
|
||||
switch (path_type)
|
||||
{
|
||||
case RARCH_CONTENT_MUSIC:
|
||||
#if defined(HAVE_FFMPEG) || defined(HAVE_MPV)
|
||||
if (builtin_mediaplayer_enable)
|
||||
file_type = FILE_TYPE_MUSIC;
|
||||
#endif
|
||||
break;
|
||||
case RARCH_CONTENT_MOVIE:
|
||||
#if defined(HAVE_FFMPEG) || defined(HAVE_MPV)
|
||||
if (builtin_mediaplayer_enable)
|
||||
|
Loading…
x
Reference in New Issue
Block a user