Refactoring: netplay_sync.c

Renamed netplay_net.c to netplay_sync.c, as all that remains in that
file is synchronization-related functions.
This commit is contained in:
Gregor Richards 2016-12-13 20:52:44 -05:00
parent 257c5d3188
commit 4e905bf524
3 changed files with 5 additions and 10 deletions

View File

@ -1125,7 +1125,7 @@ ifeq ($(HAVE_NETWORKING), 1)
OBJ += network/netplay/netplay_frontend.o \
network/netplay/netplay_init.o \
network/netplay/netplay_io.o \
network/netplay/netplay_net.o \
network/netplay/netplay_sync.o \
network/netplay/netplay_common.o \
network/netplay/netplay_discovery.o \
network/netplay/netplay_buf.o

View File

@ -884,7 +884,7 @@ NETPLAY
#include "../network/netplay/netplay_frontend.c"
#include "../network/netplay/netplay_init.c"
#include "../network/netplay/netplay_io.c"
#include "../network/netplay/netplay_net.c"
#include "../network/netplay/netplay_sync.c"
#include "../network/netplay/netplay_common.c"
#include "../network/netplay/netplay_discovery.c"
#include "../libretro-common/net/net_compat.c"

View File

@ -15,24 +15,19 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include <compat/strl.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <net/net_compat.h>
#include <net/net_socket.h>
#include <net/net_natt.h>
#include <boolean.h>
#include "netplay_private.h"
#include "retro_assert.h"
#include "../../autosave.h"
#if 0
#define DEBUG_NONDETERMINISTIC_CORES
#endif
/**
* netplay_update_unread_ptr
*