mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Add mod/s3m/xm support to audio mixer in GUI
This commit is contained in:
parent
3de9bb9fe1
commit
93eb7b349a
@ -693,6 +693,11 @@ static int general_push(menu_displaylist_info_t *info,
|
||||
if (!string_is_empty(system->valid_extensions))
|
||||
strlcpy(info->exts, system->valid_extensions, sizeof(info->exts));
|
||||
}
|
||||
#ifdef HAVE_IBXM
|
||||
strlcat(info->exts, "|s3m", sizeof(info->exts));
|
||||
strlcat(info->exts, "|mod", sizeof(info->exts));
|
||||
strlcat(info->exts, "|xm", sizeof(info->exts));
|
||||
#endif
|
||||
break;
|
||||
case PUSH_ARCHIVE_OPEN_DETECT_CORE:
|
||||
case PUSH_DETECT_CORE_LIST:
|
||||
@ -745,6 +750,11 @@ static int general_push(menu_displaylist_info_t *info,
|
||||
str_list2, "|");
|
||||
|
||||
strlcpy(info->exts, newstring, sizeof(info->exts));
|
||||
#ifdef HAVE_IBXM
|
||||
strlcat(info->exts, "|s3m", sizeof(info->exts));
|
||||
strlcat(info->exts, "|mod", sizeof(info->exts));
|
||||
strlcat(info->exts, "|xm", sizeof(info->exts));
|
||||
#endif
|
||||
|
||||
string_list_free(str_list2);
|
||||
}
|
||||
|
@ -79,6 +79,8 @@ void filebrowser_parse(void *data, unsigned type_data)
|
||||
filter_ext ? info->exts : NULL,
|
||||
true, settings->bools.show_hidden_files, true, false);
|
||||
|
||||
RARCH_LOG("extension is: %s\n", info->exts);
|
||||
|
||||
#ifdef HAVE_LIBRETRODB
|
||||
if (filebrowser_types == FILEBROWSER_SCAN_DIR)
|
||||
menu_entries_prepend(info->list,
|
||||
|
Loading…
x
Reference in New Issue
Block a user