mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 13:20:30 +00:00
Move netplay code to network/netplay dir
This commit is contained in:
parent
67e1e5a9d0
commit
aabb1e409c
@ -998,7 +998,10 @@ ifeq ($(HAVE_NETWORKING), 1)
|
||||
|
||||
ifeq ($(HAVE_NETPLAY), 1)
|
||||
DEFINES += -DHAVE_NETPLAY -DHAVE_NETWORK_CMD -DHAVE_NETWORK_GAMEPAD
|
||||
OBJ += network/netplay_net.o network/netplay_spectate.o network/netplay_common.o network/netplay.o
|
||||
OBJ += network/netplay/netplay_net.o \
|
||||
network/netplay/netplay_spectate.o \
|
||||
network/netplay/netplay_common.o \
|
||||
network/netplay/netplay.o
|
||||
endif
|
||||
|
||||
# Retro Achievements (also depends on threads)
|
||||
|
@ -37,7 +37,7 @@ PPU_SRCS = frontend/frontend_salamander.c \
|
||||
|
||||
ifeq ($(HAVE_LOGGER), 1)
|
||||
PPU_CFLAGS += -DHAVE_LOGGER
|
||||
PPU_SRCS += network/netlogger.c \
|
||||
PPU_SRCS += network/net_logger.c \
|
||||
libretro-common/net/net_compat.c \
|
||||
libretro-common/net/net_socket.c
|
||||
endif
|
||||
|
@ -60,7 +60,7 @@ OBJ = frontend/frontend_salamander.o \
|
||||
ifeq ($(HAVE_LOGGER), 1)
|
||||
CFLAGS += -DHAVE_LOGGER
|
||||
CFLAGS += -DPC_DEVELOPMENT_IP_ADDRESS=\"$(PC_DEVELOPMENT_IP_ADDRESS)\" -DPC_DEVELOPMENT_UDP_PORT=$(PC_DEVELOPMENT_UDP_PORT)
|
||||
OBJ += network/netlogger.o \
|
||||
OBJ += network/net_logger.o \
|
||||
libretro-common/net/net_compat.o \
|
||||
libretro-common/net/net_socket.o
|
||||
endif
|
||||
|
@ -76,7 +76,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_NETPLAY
|
||||
#include "network/netplay.h"
|
||||
#include "network/netplay/netplay.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_NETWORKING
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "audio/audio_driver.h"
|
||||
|
||||
#ifdef HAVE_NETPLAY
|
||||
#include "network/netplay.h"
|
||||
#include "network/netplay/netplay.h"
|
||||
#endif
|
||||
|
||||
static struct retro_core_t core;
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include "../verbosity.c"
|
||||
|
||||
#if defined(HAVE_LOGGER) && !defined(ANDROID)
|
||||
#include "../network/netlogger.c"
|
||||
#include "../network/net_logger.c"
|
||||
#endif
|
||||
|
||||
/*============================================================
|
||||
@ -799,10 +799,10 @@ THREAD
|
||||
NETPLAY
|
||||
============================================================ */
|
||||
#ifdef HAVE_NETPLAY
|
||||
#include "../network/netplay_net.c"
|
||||
#include "../network/netplay_spectate.c"
|
||||
#include "../network/netplay_common.c"
|
||||
#include "../network/netplay.c"
|
||||
#include "../network/netplay/netplay_net.c"
|
||||
#include "../network/netplay/netplay_spectate.c"
|
||||
#include "../network/netplay/netplay_common.c"
|
||||
#include "../network/netplay/netplay.c"
|
||||
#include "../libretro-common/net/net_compat.c"
|
||||
#include "../libretro-common/net/net_socket.c"
|
||||
#include "../libretro-common/net/net_http.c"
|
||||
|
@ -27,7 +27,7 @@
|
||||
#include <net/net_compat.h>
|
||||
#include <net/net_socket.h>
|
||||
|
||||
#include "verbosity.h"
|
||||
#include "../verbosity.h"
|
||||
|
||||
#if !defined(PC_DEVELOPMENT_IP_ADDRESS)
|
||||
#error "An IP address for the PC logging server was not set in the Makefile, cannot continue."
|
@ -24,7 +24,7 @@
|
||||
#include <boolean.h>
|
||||
#include <libretro.h>
|
||||
|
||||
#include "../core.h"
|
||||
#include "../../core.h"
|
||||
|
||||
typedef struct netplay netplay_t;
|
||||
|
@ -16,7 +16,8 @@
|
||||
|
||||
#include "netplay_private.h"
|
||||
#include <net/net_socket.h>
|
||||
#include "../content.h"
|
||||
|
||||
#include "../../content.h"
|
||||
|
||||
bool netplay_get_nickname(netplay_t *netplay, int fd)
|
||||
{
|
@ -22,15 +22,15 @@
|
||||
#include <net/net_compat.h>
|
||||
#include <retro_endianness.h>
|
||||
|
||||
#include "../command.h"
|
||||
#include "../general.h"
|
||||
#include "../autosave.h"
|
||||
#include "../dynamic.h"
|
||||
#include "../movie.h"
|
||||
#include "../msg_hash.h"
|
||||
#include "../system.h"
|
||||
#include "../runloop.h"
|
||||
#include "../verbosity.h"
|
||||
#include "../../command.h"
|
||||
#include "../../general.h"
|
||||
#include "../../autosave.h"
|
||||
#include "../../dynamic.h"
|
||||
#include "../../movie.h"
|
||||
#include "../../msg_hash.h"
|
||||
#include "../../system.h"
|
||||
#include "../../runloop.h"
|
||||
#include "../../verbosity.h"
|
||||
|
||||
#ifdef ANDROID
|
||||
#define HAVE_IPV6
|
Loading…
x
Reference in New Issue
Block a user