mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 18:35:22 +00:00
Should fix netplay segfault.
This commit is contained in:
parent
5cf8b6041b
commit
0b0da3c335
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user