X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=frontend%2Flibretro.c;h=081f8bacf271821a14bd5cdd774f20fbf8ad211b;hb=651892c3a169815448a53d9102afbb4cef8a8bda;hp=192d6d0612533b35335566cfc9b8cac0ab7764b2;hpb=6713b6291a14f62ef2a348cb1d83e69b55a2be98;p=pcsx_rearmed.git diff --git a/frontend/libretro.c b/frontend/libretro.c index 192d6d06..081f8bac 100644 --- a/frontend/libretro.c +++ b/frontend/libretro.c @@ -1333,7 +1333,7 @@ size_t retro_get_memory_size(unsigned id) if (id == RETRO_MEMORY_SAVE_RAM) return MCD_SIZE; else if (id == RETRO_MEMORY_SYSTEM_RAM) - return 0x210000; + return 0x200000; else return 0; } @@ -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", @@ -2275,6 +2276,7 @@ void retro_init(void) void retro_deinit(void) { + ClosePlugins(); SysClose(); #ifdef _3DS linearFree(vout_buf);