From edbbacd067330fb67a3719ebac85860ff7473d7d Mon Sep 17 00:00:00 2001 From: Themaister Date: Mon, 16 Jun 2014 18:23:11 +0200 Subject: [PATCH] Don't disable SRAM if netplay_is_client is set without netplay. --- retroarch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroarch.c b/retroarch.c index 8b182adb11..42a4c5baeb 100644 --- a/retroarch.c +++ b/retroarch.c @@ -2964,7 +2964,7 @@ int rarch_main_init(int argc, char *argv[]) #endif #ifdef HAVE_NETPLAY - g_extern.use_sram = g_extern.use_sram && !g_extern.sram_save_disable && !g_extern.netplay_is_client; + g_extern.use_sram = g_extern.use_sram && !g_extern.sram_save_disable && (!g_extern.netplay || !g_extern.netplay_is_client); #else g_extern.use_sram = g_extern.use_sram && !g_extern.sram_save_disable; #endif