Remember Me
Try making that 5 sec change in retroarch.cfg and waiting at least that amount of time after making the in-game save before quitting. Failing that, you can always use save states.