Commit Graph

150 Commits

Author SHA1 Message Date
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
Themaister
7bcc173c5f Should fix some issues with Win32 netplay. 2011-02-15 17:29:03 +01:00
Themaister
f3c07325bd Fix Windows build. 2011-02-15 15:57:59 +01:00
Themaister
b73f5e77ff Cleanups, add --frames. 2011-02-15 15:32:26 +01:00
Themaister
d07712b308 Woot. looks like it works o.O 2011-02-15 15:10:03 +01:00
Themaister
89ba64d27f Borked, borked... 2011-02-14 22:37:57 +01:00
Themaister
1a6f112d8a More changes to netplay. Still quite broken, but it's not far away! 2011-02-14 20:11:46 +01:00
Themaister
70e8681487 Started to work on a look-ahead algorithm.
Still very broken, but frame-by-frame sync works at least :)
2011-02-14 16:10:53 +01:00
Themaister
17ae0f72df Do not try to poll when we've disconnected. 2011-02-13 21:19:20 +01:00
Themaister
466485e62e Lots more error messages. 2011-02-13 20:24:54 +01:00
Themaister
df1eee1a74 Redundant... 2011-02-13 19:00:27 +01:00
Themaister
9ba2d6c9fa Send SRAM to client. 2011-02-13 17:45:14 +01:00
Themaister
fd1367e257 Update build for Win32 2011-02-13 16:49:18 +01:00
Themaister
85dbc05ded Some start on netplay. :) 2011-02-13 16:40:24 +01:00