diff options
author | notaz | 2011-06-22 00:09:37 +0300 |
---|---|---|
committer | notaz | 2011-07-08 00:15:06 +0300 |
commit | f246f461993c0bed04dd6ea275a13d40345585d2 (patch) | |
tree | 14616619401a13f775614ff8ae7e45b00d98fb23 /frontend | |
parent | ff847a2ebb9f89594332aeb52cecfa0bd51669b7 (diff) | |
download | pcsx_rearmed-f246f461993c0bed04dd6ea275a13d40345585d2.tar.gz pcsx_rearmed-f246f461993c0bed04dd6ea275a13d40345585d2.tar.bz2 pcsx_rearmed-f246f461993c0bed04dd6ea275a13d40345585d2.zip |
frontend: update file browser filters
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/common/menu.c | 5 | ||||
-rw-r--r-- | frontend/menu.c | 6 |
2 files changed, 5 insertions, 6 deletions
diff --git a/frontend/common/menu.c b/frontend/common/menu.c index b05c755..96e1bd3 100644 --- a/frontend/common/menu.c +++ b/frontend/common/menu.c @@ -766,11 +766,6 @@ static int scandir_cmp(const void *p1, const void *p2) return alphasort(d1, d2);
}
-static const char *filter_exts[] = {
- ".mp3", ".MP3", ".srm", ".brm", "s.gz", ".mds", "bcfg", ".txt", ".htm", "html",
- ".jpg", ".gpe"
-};
-
static int scandir_filter(const struct dirent *ent)
{
const char *p;
diff --git a/frontend/menu.c b/frontend/menu.c index baf7f2c..5c3824b 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -426,7 +426,7 @@ fail: // rrrr rggg gggb bbbb static unsigned short fname2color(const char *fname) { - static const char *cdimg_exts[] = { ".bin", ".img", ".iso", ".cue", ".z", ".bz", ".znx", ".pbp" }; + static const char *cdimg_exts[] = { ".bin", ".img", ".mdf", ".iso", ".cue", ".z", ".bz", ".znx", ".pbp" }; static const char *other_exts[] = { ".ccd", ".toc", ".mds", ".sub", ".table", ".index", ".sbi" }; const char *ext = strrchr(fname, '.'); int i; @@ -444,6 +444,10 @@ static unsigned short fname2color(const char *fname) static void draw_savestate_bg(int slot); +static const char *filter_exts[] = { + ".mp3", ".MP3", ".txt", ".htm", "html", ".jpg", ".pnd" +}; + #define MENU_ALIGN_LEFT #define menu_init menu_init_common #include "common/menu.c" |