Add HAVE_NETPLAY ifdef

This commit is contained in:
twinaphex 2015-04-11 23:03:30 +02:00
parent c953b78f07
commit 89a5196403

View File

@ -1746,11 +1746,13 @@ bool config_load_override(void)
return false;
}
#ifdef HAVE_NETPLAY
if (global->netplay_enable)
{
RARCH_WARN("Can't use overrides in conjunction with netplay, disabling overrides\n");
return false;
}
#endif
char buf[PATH_MAX_LENGTH];
//Store the libretro_path we're using since it will be overwritten by the override when reloading