X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Fmenu.c;fp=frontend%2Fmenu.c;h=901c72d510476ad8e47204d33ea0ffc4b2a66ec4;hb=4a1d78d40df22668e4c17e08fb0034f2781b8576;hp=fb712247b1ed37e3be213cd70070b54d7bf94b40;hpb=308c6e678a2f0a56a9dee35307070550354f580c;p=pcsx_rearmed.git diff --git a/frontend/menu.c b/frontend/menu.c index fb712247..901c72d5 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -111,7 +111,7 @@ int soft_filter; #define DEFAULT_PSX_CLOCK_S "50" #endif -static const char *bioses[24]; +static const char *bioses[32]; static const char *gpu_plugins[16]; static const char *spu_plugins[16]; static const char *memcards[32]; @@ -2450,7 +2450,8 @@ static void scan_bios_plugins(void) continue; snprintf(fname, sizeof(fname), "%s/%s", Config.BiosDir, ent->d_name); - if (stat(fname, &st) != 0 || st.st_size != 512*1024) { + if (stat(fname, &st) != 0 + || (st.st_size != 512*1024 && st.st_size != 4*1024*1024)) { printf("bad BIOS file: %s\n", ent->d_name); continue; }