mirror of
https://github.com/libretro/RetroArch
synced 2025-03-21 22:20:59 +00:00
Attempt to recover SRAM writes!
This commit is contained in:
parent
596d8d9985
commit
e5326467a1
2
file.c
2
file.c
@ -343,7 +343,7 @@ static void dump_to_file_desperate(const void *data, size_t size)
|
||||
static unsigned count = 0;
|
||||
|
||||
char path[MAXPATHLEN];
|
||||
snprintf(path, sizeof(path), "%s/SSNES-recovery-%u\n", base, count++);
|
||||
snprintf(path, sizeof(path), "%s/SSNES-recovery-%u", base, count++);
|
||||
|
||||
if (dump_to_file(path, data, size))
|
||||
SSNES_WARN("Succeeded in recovering data to \"%s\". Phew! :D\n", path);
|
||||
|
Loading…
x
Reference in New Issue
Block a user