Don't disable SRAM if netplay_is_client is set without netplay.

This commit is contained in:
Themaister 2014-06-16 18:23:11 +02:00
parent 53bc4c08ed
commit edbbacd067

View File

@ -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