void netplay_pre_frame(netplay_t *handle) { if (handle->spectate) netplay_pre_frame_spectate(handle); else netplay_pre_frame_net(handle); }
/** * netplay_pre_frame: * @netplay : pointer to netplay object * * Pre-frame for Netplay. * Call this before running retro_run(). **/ void netplay_pre_frame(netplay_t *netplay) { if (netplay->spectate) netplay_pre_frame_spectate(netplay); else netplay_pre_frame_net(netplay); }