twinaphex
16cd8d1321
(netplay.c) Cleanup poll_input
2015-01-23 20:01:25 +01:00
twinaphex
1827696676
Move send_all and recv_all to netplay_compat.c
2015-01-23 19:43:40 +01:00
twinaphex
f6d0a80b3d
(Netplay) Create wrapper function for select()
2015-01-23 11:44:13 +01:00
twinaphex
cec500ece5
Create socket_close in netplay_compat.c
2015-01-23 11:36:45 +01:00
twinaphex
57933ec70e
Get rid of CONST_CAST/NONCONST_CAST - just do this by default
2015-01-23 11:30:13 +01:00
twinaphex
6b15e8910a
(netplay.c) Some cleanups
2015-01-23 09:00:53 +01:00
twinaphex
59f5658066
(netplay.c) Some minor cleanups
2015-01-23 08:51:22 +01:00
twinaphex
c854645ba9
Create netplay_compat.c and put wrappers around getaddrinfo/freeaddrinfo
2015-01-23 06:29:36 +01:00
twinaphex
1463d5e7dc
Move message queue to libretro-sdk
2015-01-11 05:35:47 +01:00
twinaphex
357555e1cd
Add documentation for netplay
2015-01-09 18:34:00 +01:00
twinaphex
102ec37365
netplay.c - get rid of a bunch of forward declarations
2015-01-09 03:21:47 +01:00
twinaphex
a771b61fd6
Simplify netplay.c - and move variables to top of functions
2015-01-09 03:11:27 +01:00
twinaphex
d4a08d7ec7
(netplay.c) Simplify init_tcp_connection
2015-01-09 03:00:24 +01:00
twinaphex
453321c50b
Start updating headers
2015-01-07 17:46:50 +01:00
twinaphex
f39157e39a
Change mentions of 'Player' to ' User'
2015-01-05 02:03:17 +01:00
twinaphex
94f5884a45
(XDK) Some stub build fixes
2014-12-23 21:21:49 +01:00
twinaphex
9daecea53e
Create network_init and network_deinit functions
2014-12-21 03:29:52 +01:00
twinaphex
181d163b36
Rename 'player' to 'user'
2014-12-05 13:48:54 +01:00
twinaphex
227dbdd39f
Rewrite netplay_flip_port
2014-10-21 01:04:57 +02:00
twinaphex
7dbf9f2298
Avoid index local variables
2014-10-20 19:29:49 +02:00
twinaphex
65572c57dc
(MSVC) Build fixes
2014-10-03 22:23:02 +02:00
twinaphex
0135d763db
Move g_extern.netplay to driver.netplay_data
2014-10-01 23:00:05 +02:00
twinaphex
8437e4bd2a
Style/indent nits
2014-09-15 07:03:54 +02:00
Lioncash
64272ef327
Squash some more potential null pointer dereferences
2014-09-11 23:04:02 -04:00
twinaphex
9d783b6627
Style cleanups
2014-09-07 05:47:18 +02:00
twinaphex
3060d0757c
Cleanups, 80-char limit
2014-09-02 16:13:42 +02:00
twinaphex
5a77b1aef3
Remove more extraneous elses
2014-08-27 04:02:32 +02:00
twinaphex
2675cd2f76
Rename cart_crc
2014-08-12 03:19:02 +02:00
Themaister
cdc46ae512
Block libretro input when ENABLE_HOTKEY is held.
2014-07-11 00:26:50 +02:00
twinaphex
d267f27130
(Style nit) Rename 'init' to 'initialize' in comments
...
(Filter) Get rid of questionable ifdef for HAVE_FILTERS_BUILTIN for
filter init
2014-05-30 18:23:32 +02:00
twinaphex
0a15a17d44
Update years on all license headers
2014-01-01 01:50:59 +01:00
twinaphex
2c2542ff63
Rename message.c/message.h to message_queue.c/message_queue.h
2013-11-06 15:08:54 +01:00
Lioncash
fac2783a09
Optimize some struct sizes.
...
This is the list of reduced sizes:
file: dsound.c - struct dsound_t reduced from 56 bytes to 52 bytes.
file: shader_parse.h - struct gfx_fbo_scale reduced from 32 bytes to 28 bytes.
file: thread_wrapper.c - struct texture reduced from 28 bytes to 24 bytes.
file: libretro.h - struct retro_hw_render_callback reduced from 40 bytes to 36 bytes.
file: movie.c - struct bsv_movie reduced from 36 bytes to 32 bytes.
file: netplay.c - struct delta_frame reduced from 16 bytes to 12 bytes.
file: performance.h - struct rarch_perf_counter_t reduced from 40 bytes to 32 bytes.
2013-11-03 23:57:41 -05:00
Themaister
7aa8b40759
Fixup C89 for loops.
2013-10-22 21:37:56 +02:00
twinaphex
5cb9713aae
Don't compile in autosave for consoles
2013-02-17 02:00:51 +01:00
Themaister
0b4cf2d053
Update license headers to 2013.
2013-01-01 01:41:15 +01:00
twinaphex
1a3b24004c
(360) Build fix - see previous commit
2012-11-15 14:32:06 +01:00
Themaister
0e729bcaa0
Style nits.
2012-11-15 09:40:31 +01:00
OV2
54d39dff74
win32: make d3d9 compile in msvc, add linker pragmas to source files
2012-11-14 21:07:06 +01:00
Twinaphex
aa054f76a3
(PSL1GHT) Crashes now at do_global_ctors_aux
2012-09-16 05:22:44 +02:00
Twinaphex
2fd12edfb6
Libsnes exorcism
2012-07-07 17:08:55 +02:00
Themaister
b97644f52f
Make sure that network is inited.
2012-06-01 15:20:53 +02:00
Themaister
02c77d3685
Drop useless (void).
2012-06-01 14:22:13 +02:00
Themaister
2c674ef8d1
Correctly walk the addrinfo tree to determine all addresses.
2012-05-31 20:34:33 +02:00
Themaister
0375de48a2
Add preliminary network command interface.
2012-05-27 14:12:29 +02:00
Themaister
1c172d7947
Fix spectator mode crash.
2012-05-04 19:57:15 +02:00
Themaister
ce740f8948
More fixups.
2012-04-21 23:31:57 +02:00
Themaister
aab8fb6151
ssnes_* => rarch_*.
2012-04-21 23:25:32 +02:00
Themaister
9ab51ad23a
SSNES => RetroArch.
2012-04-21 23:17:43 +02:00
Themaister
e3a71a8c5b
Fixup headers.
2012-04-09 22:05:26 +02:00
Themaister
5d51942f69
libretro fixups.
2012-04-09 22:04:43 +02:00
Themaister
62c96ea937
Change license header.
2012-04-09 22:03:57 +02:00
Themaister
9698cd7dbd
Change headers.
2012-04-09 22:03:57 +02:00
Themaister
b273de1e99
Move netplay related bsv code to netplay.
2012-03-26 00:06:25 +02:00
Themaister
0ee6aa948e
Merge netplay_compat.c into netplay.c.
2012-03-17 00:49:05 +01:00
TwinAphex51224
06a951ef7f
(360) Add NOD3D define to netplay.c too
2012-03-11 16:26:10 +01:00
Themaister
9c861f13be
Fix additional exclamation marks.
2012-02-11 21:16:01 +01:00
Themaister
1cff87c758
Change exclamation marks with dots for less scream factor.
2012-02-11 20:59:41 +01:00
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