mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
add logging
This commit is contained in:
parent
80f9e6db90
commit
22a07eaf6c
@ -2276,6 +2276,8 @@ bool command_event(enum event_command cmd, void *data)
|
||||
{
|
||||
static struct string_list *hostname = NULL;
|
||||
hostname = string_split(buf, "|");
|
||||
RARCH_LOG("[netplay] connecting to %s:%d\n",
|
||||
hostname->elems[0].data, atoi(hostname->elems[1].data));
|
||||
|
||||
if (!init_netplay(NULL, hostname->elems[0].data,
|
||||
atoi(hostname->elems[1].data)))
|
||||
@ -2306,6 +2308,8 @@ bool command_event(enum event_command cmd, void *data)
|
||||
hostname = string_split(buf, "|");
|
||||
|
||||
command_event(CMD_EVENT_NETPLAY_DEINIT, NULL);
|
||||
RARCH_LOG("[netplay] connecting to %s:%d\n",
|
||||
hostname->elems[0].data, atoi(hostname->elems[1].data));
|
||||
|
||||
if (!init_netplay_deferred(
|
||||
hostname->elems[0].data, atoi(hostname->elems[1].data)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user