Should fix netplay segfault.

This commit is contained in:
Themaister 2012-05-03 20:29:58 +02:00
parent 5cf8b6041b
commit 0b0da3c335

View File

@ -1332,6 +1332,8 @@ static void init_libretro_cbs_plain(void)
static void init_libretro_cbs(void)
{
init_libretro_cbs_plain();
#ifdef HAVE_NETPLAY
if (g_extern.netplay)
{
@ -1347,10 +1349,6 @@ static void init_libretro_cbs(void)
(g_extern.netplay_is_client ? input_state_spectate_client : input_state_spectate)
: input_state_net);
}
else
init_libretro_cbs_plain();
#else
init_libretro_cbs_plain();
#endif
}