From 5ec30c9c2d55e17899d8c29a227741d858c66628 Mon Sep 17 00:00:00 2001 From: kaosushijin Date: Mon, 16 Oct 2017 12:15:05 -0400 Subject: Increased sleep timer for N64/GBA rom save bug The sleep timer before /var/cache/* wipe was too short and was causing some games (like Mother 3) to fail to load the savestate or SRAM due to the files being deleted before the rom finished decompressing. The community "fix" is to leave the rom decompressed, but NAND doesn't have much space and it was a less than ideal solution to leave things decompressed when we can just tweak this sleep timer. --- retroarch.hmod/bin/retroarch-clover-child | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroarch.hmod/bin/retroarch-clover-child b/retroarch.hmod/bin/retroarch-clover-child index 2f82551..54a18aa 100755 --- a/retroarch.hmod/bin/retroarch-clover-child +++ b/retroarch.hmod/bin/retroarch-clover-child @@ -107,7 +107,7 @@ if [ ! -z "$demo" ]; then fi fi -sleep 3 +sleep 6 rm -f /var/cache/*.state /var/cache/*.auto /var/cache/*.srm /var/cache/*.sav # Playing games until reset pressed -- cgit v1.2.3