X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=frontend%2Fmenu.c;h=a54208116f22c7ac181b4a57f3c1858a5b390c99;hb=401902456212a11a3ccdee41be3f36b832bb8dcd;hp=4272154ad253497cb681889a836281b97deb8ba5;hpb=5bbe183f3aa15f21613fcf58ead2016c9283a842;p=pcsx_rearmed.git diff --git a/frontend/menu.c b/frontend/menu.c index 4272154a..a5420811 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]; @@ -2454,7 +2454,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; }