Silence warning for targets that don't have HAVE_NETPLAY (GX/Wii)

This commit is contained in:
twinaphex 2016-09-11 16:47:51 +02:00
parent b680ffbfa6
commit 583795ee36
1 changed files with 2 additions and 0 deletions

View File

@ -1309,7 +1309,9 @@ static void command_event_set_savestate_auto_index(void)
static bool event_init_content(void)
{
#ifdef HAVE_NETPLAY
global_t *global = global_get_ptr();
#endif
rarch_ctl(RARCH_CTL_SET_SRAM_ENABLE, NULL);