From e1186a95c4bd658d5963ac242a6daa8259d36a77 Mon Sep 17 00:00:00 2001 From: sorgelig Date: Fri, 11 Jan 2019 00:28:11 +0800 Subject: [PATCH] Hide menu_20* items from list. --- file_io.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/file_io.cpp b/file_io.cpp index 8ab227d..2eba762 100644 --- a/file_io.cpp +++ b/file_io.cpp @@ -1141,6 +1141,7 @@ int ScanDirectory(char* path, int mode, const char *extension, int options, cons { //skip non-selectable files if (!strcasecmp(de->d_name, "menu.rbf")) continue; + if (!strncasecmp(de->d_name, "menu_20",7)) continue; if (!strcasecmp(de->d_name, "boot.rom")) continue; //check the prefix if given