Commit Graph

63 Commits

Author SHA1 Message Date
Themaister
0e5a9a7772 Adjustments for PS3. 2012-01-24 23:14:11 +01:00
Themaister
6ff762f088 Some init stuff needed for PS3. 2012-01-24 22:38:25 +01:00
Themaister
03a892c7f2 Start adding netplay compat layer for legacy stuff. 2012-01-24 21:12:12 +01:00
TwinAphex51224
2be040a8a7 (360) Added small ifdef to netplay.c - next stumbling block -
both 360 and PS3 don't support sockaddr_storage and getaddrinfo
2012-01-21 18:56:07 +01:00
Themaister
f9870dfb24 Nicknames for spectator mode as well. 2012-01-21 18:34:07 +01:00
Themaister
7082561e21 Nicknames for regular connection. 2012-01-21 18:12:42 +01:00
Themaister
8f0a47e6c3 Small cleanup. 2012-01-21 16:14:10 +01:00
Themaister
20528b9d1f Fix buggy log_connection. 2012-01-21 14:58:39 +01:00
Themaister
d262049f6b Additional fixes. 2012-01-21 14:46:33 +01:00
Themaister
75408b689d Hook up binds. 2012-01-21 14:24:38 +01:00
Themaister
d551d93ce4 Start implementing player flipping. 2012-01-21 14:00:11 +01:00
Themaister
86dac8c979 Make sure sockets are not closed twice on error. 2012-01-12 09:21:33 +01:00
Themaister
c6fc8e45ff Log more clearly disconnects. 2012-01-11 21:08:44 +01:00
Themaister
4dde927c12 Add some logging and increase buffer sizes. 2012-01-11 20:50:21 +01:00
Themaister
6325b4cd2e Set larger buffer size to mitigate lags on client connect. 2012-01-11 20:14:59 +01:00
Themaister
4beec3870f Spectator mode. 2012-01-11 19:22:18 +01:00
Themaister
b4248038fb Update license headers. 2012-01-08 01:12:05 +01:00
Themaister
672102d377 Change asserts to ssnes_assert(). 2011-12-25 12:47:47 +01:00
Themaister
0ab305156b Fixup header. 2011-12-25 01:41:12 +01:00
Themaister
eac468ba19 MSVC compat. 2011-12-25 01:38:59 +01:00
Themaister
d5fca50a2f Can build for C++. 2011-12-24 15:26:01 +01:00
Themaister
0b20f11617 Nits. 2011-12-04 18:06:50 +01:00
TwinAphex51224
3a47e2cd63 Merge branch 'master' of github.com:Themaister/SSNES into ssnes-consoles 2011-11-30 18:11:06 +01:00
Themaister
a221e3e4cd Enable/disable threading support. 2011-11-30 17:46:58 +01:00
TwinAphex51224
3b4e60aada Header guards for netplay.c not necessary 2011-11-30 16:21:21 +01:00
TwinAphex51224
8d8fb44c18 Use getopt replacement 2011-11-30 16:19:12 +01:00
Themaister
bf5db10459 Change timeout message to be less misleading. 2011-11-16 22:30:57 +01:00
Themaister
b4f0d9b8f8 Restrict number of lag frames. 2011-11-06 20:38:42 +01:00
Themaister
b96ab2982c Should fix minor issues with timeouts when lag frames > 8. 2011-11-06 20:28:02 +01:00
Themaister
cdf3d05c8e Should fix spurious timeouts for netplay. 2011-11-04 00:18:17 +01:00
Themaister
65665f36cc Fixup netplay. 2011-10-31 22:51:54 +01:00
Themaister
e134f8afc7 And yet another ... :) 2011-10-18 19:22:20 +02:00
Themaister
7d2d1ce49e Change "hashing" value used for netplay. 2011-10-07 22:33:38 +02:00
Themaister
f6d4d32c03 Dynamic loading by default, add OSD message for netplay DC. 2011-10-05 21:44:17 +02:00
Themaister
65ec7fae9c Is this it? 2011-10-05 02:09:54 +02:00
Themaister
a0acb75a19 Might push lagframes better. 2011-10-05 01:05:34 +02:00
Themaister
5cb2863e6e Fix up Win64 warnings/errors. 2011-08-19 13:33:10 +02:00
Themaister
fa777b8356 Should fix netplay for bSNES as well.
Do not rely on when polling takes place in the emu core.
We earlier assumed that this occured always at the start of the main
loop. We now do not care about when the poll callback is called, and we
manually poll the network ourselves in pre_frame.
2011-06-26 16:02:18 +02:00
Themaister
42d19f1a35 Fix build for Win32. 2011-03-07 20:05:03 +01:00
Themaister
7053006e77 Add more verbose messages, should fix netplay hangup on Win32. 2011-03-01 14:46:58 +01:00
Themaister
4cdb6151e5 Add netplay_client_swap_input. 2011-02-20 12:12:53 +01:00
Themaister
e482b1bd18 Fix potential problem. Some cleanup. 2011-02-18 23:51:51 +01:00
Themaister
9be3c13a07 Hrm. This stuff is very error prone. :V 2011-02-18 15:50:57 +01:00
Themaister
8a4bcacf88 hrm... 2011-02-18 14:49:15 +01:00
Themaister
6b9b37b528 Should fix an extreme edge case. 2011-02-18 13:39:31 +01:00
Themaister
8e87c1ff19 Could this be it? :v 2011-02-18 03:42:43 +01:00
Themaister
aa648c1a49 Hm... Still borked. Seems hard to fix. 2011-02-18 03:14:32 +01:00
Themaister
056a590671 Hm. More progress, but still not quite right. 2011-02-18 02:16:32 +01:00
Themaister
97f2503794 Some initial work on UDP networking. Still borked. 2011-02-18 02:01:47 +01:00
Themaister
143079efbe Should fix abrupt application termination on Unix when netplay ends. 2011-02-16 18:33:45 +01:00