Fix SRAM not being saved.

This commit is contained in:
greenchili2 2023-10-06 08:29:23 -04:00 committed by GitHub
parent cf0fcc6ea4
commit 58c08d6ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -626,6 +626,9 @@ static int rom_init_path(const char *filename, const char *physicalName, const c
u32 type = ROM_NDS;
path.init(logicalFilename? logicalFilename : filename);
#ifdef __LIBRETRO__
path.ReadPathSettings();
#endif
if (!strcasecmp(path.extension().c_str(),"zip")
|| !strcasecmp(path.extension().c_str(),"gz")) {