From fec81d2ee4ddb4c3a598b97dd49a68f236a21800 Mon Sep 17 00:00:00 2001 From: Toad King Date: Sun, 5 Aug 2012 18:36:23 -0400 Subject: [PATCH] (Wii) don't list "boot.dol" in core selector --- wii/frontend/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wii/frontend/main.c b/wii/frontend/main.c index 4ab9903bb8..2d5c8e1228 100644 --- a/wii/frontend/main.c +++ b/wii/frontend/main.c @@ -113,7 +113,8 @@ static bool folder_cb(const char *directory, rgui_file_enum_cb_t file_cb, if (!S_ISDIR(st.st_mode) && !S_ISREG(st.st_mode)) continue; - if (core_chooser && strstr(entry->d_name, ".dol") != entry->d_name + strlen(entry->d_name) - 4) + if (core_chooser && (strstr(entry->d_name, ".dol") != entry->d_name + strlen(entry->d_name) - 4 || + strcasecmp(entry->d_name, "boot.dol") == 0)) continue; file_cb(ctx,