From 106c2c0352ef0e29002c33c4f7b5e228e3afe920 Mon Sep 17 00:00:00 2001 From: dankcushions Date: Wed, 21 Aug 2019 23:47:11 +0100 Subject: [PATCH] Added support for PSXONPSP660.bin and psx* named BIOS files --- frontend/libretro.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/libretro.c b/frontend/libretro.c index d8f9766f..081f8bac 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -2078,7 +2078,7 @@ static bool find_any_bios(const char *dirpath, char *path, size_t path_size) return false; while ((ent = readdir(dir))) { - if (strncasecmp(ent->d_name, "scph", 4) != 0) + if ((strncasecmp(ent->d_name, "scph", 4) != 0) && (strncasecmp(ent->d_name, "psx", 3) != 0)) continue; snprintf(path, path_size, "%s%c%s", dirpath, SLASH, ent->d_name); @@ -2144,6 +2144,7 @@ static void loadPSXBios(void) unsigned useHLE = 0; const char *bios[] = { + "PSXONPSP660", "psxonpsp660", "SCPH101", "scph101", "SCPH5501", "scph5501", "SCPH7001", "scph7001", -- 2.39.5