From 6c3a0b0fea346e4d843d098f2bd1085e920b07d6 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 27 Oct 2017 15:39:21 +0200 Subject: [PATCH] SRAM Autosave enabled by default for PC / mobile, disabled by default for consoles --- config.def.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.def.h b/config.def.h index 880da62e0a..bd21973011 100644 --- a/config.def.h +++ b/config.def.h @@ -503,7 +503,11 @@ static const bool pause_nonactive = true; /* Saves non-volatile SRAM at a regular interval. * It is measured in seconds. A value of 0 disables autosave. */ +#if defined(HAVE_THREADS) && !defined(RARCH_CONSOLE) +static const unsigned autosave_interval = 10; +#else static const unsigned autosave_interval = 0; +#endif /* Publicly announce netplay */ static const bool netplay_public_announce = true;