35268 Commits

Author SHA1 Message Date
Gregor Richards
170b590bdb Client now starts one frame after finishing connection, for easier sync. 2016-12-18 19:28:42 -05:00
Gregor Richards
80be19a7da Renames for readability, merging frame and sram into sync packet. 2016-12-18 19:28:42 -05:00
Gregor Richards
f89e54fcb7 Now that we don't have to start at frame 0, use the server frame count 2016-12-18 19:28:42 -05:00
Gregor Richards
b3092f6fde Moving things that shouldn't have been public into netplay_private.h 2016-12-18 19:28:41 -05:00
Gregor Richards
9054b51f0e Finally, bringing back the first frame (in nonblocking mode) 2016-12-18 19:28:41 -05:00
Gregor Richards
ce7686104d Removing dead code 2016-12-18 19:28:41 -05:00
Gregor Richards
71e5cb756a Support for delay_frames=0 in nonblocking mode. 2016-12-18 19:28:41 -05:00
Gregor Richards
1c8f056239 Nonblocking initial connection. Haven't tested with delay_frames=0 yet 2016-12-18 19:28:41 -05:00
Gregor Richards
3f8f9761f6 Fixes particularly affecting delay_frames=0 mode 2016-12-18 19:28:41 -05:00
Gregor Richards
91e7db3eca This semicolon broke everything! 2016-12-18 19:28:40 -05:00
Gregor Richards
ba76528b8f A more sophisticated status variable for later making the initial
connection nonblocking.
2016-12-18 19:28:39 -05:00
Gregor Richards
0f5eec9987 Use zbuffer_size instead of state_size for the packet buffer 2016-12-18 19:28:39 -05:00
Gregor Richards
1214541410 Added packet buffer resizing to cope with initialization quirks. 2016-12-18 19:28:38 -05:00
Gregor Richards
36a93e5697 Fix a few bits broken by merging. 2016-12-18 19:28:38 -05:00
Gregor Richards
900e5a79ec Use nonblocking sockets for Netplay to avoid some stalls. 2016-12-18 19:28:38 -05:00
twinaphex
89820220b7 (libretro-common) Cleanup/style nits for archive_file_{7z/zlib} 2016-12-19 00:12:24 +01:00
Twinaphex
e639f12e35 Merge pull request #4273 from fr500/master
differentiate xbox one controllers
2016-12-19 00:01:45 +01:00
radius
ab56b5f33c differentiate xbox one controllers 2016-12-18 13:44:15 -05:00
twinaphex
7dce431239 Move VIDEO_SMOOTH to Video Filter setting 2016-12-18 17:32:55 +01:00
twinaphex
75696a1e12 Rename 'HW Bilinear Filtering' to 'Bilinear Filtering' 2016-12-18 17:31:00 +01:00
twinaphex
af98a61901 Update string 2016-12-18 17:28:29 +01:00
twinaphex
327c81ed3a (XMB) Create icons for CFILE 2016-12-18 17:26:02 +01:00
twinaphex
5adaf9e2aa (menu_cbs_ok.c) Add some comments 2016-12-18 16:01:00 +01:00
twinaphex
2fa5b09e7a (RJPEG) Cleanups 2016-12-18 15:57:47 +01:00
twinaphex
d6ece7f1b8 (RJPEG) Cleanups 2016-12-18 15:51:08 +01:00
twinaphex
a44afda5c5 (RJPEG) Cleanups 2016-12-18 15:30:29 +01:00
twinaphex
099f3a8d52 (RJPEG) Style nits 2016-12-18 15:28:02 +01:00
twinaphex
e9d9f1d90f (RBMP) Cleanups 2016-12-18 14:51:57 +01:00
twinaphex
35de6df7f9 (RJPEG) Cleanups 2016-12-18 12:15:36 +01:00
twinaphex
222650df35 (rjpeg.c) Cleanups 2016-12-18 12:12:09 +01:00
Twinaphex
d604441cea Merge pull request #4266 from GregorR/netplay-better-simulation
Better netplay input simulation
2016-12-18 07:13:52 +01:00
Twinaphex
152e4f7377 Merge pull request #4265 from GregorR/netplay-full-deinit
When we disconnect netplay, fully deinit it
2016-12-18 07:13:43 +01:00
Twinaphex
05b4bfcb66 Merge pull request #4262 from Themaister/master
Wayland: Implement basic keyboard/mouse
2016-12-18 07:13:33 +01:00
Gregor Richards
1245d1b5dd Better netplay input simulation
In resimulation mode, we only copy the buttons. The reason for this
is nonobvious:

If we resimulated nothing, then the /duration/ with which any input
was pressed would be approximately correct, since the original
simulation came in as the input came in, but the /number of times/
the input was pressed would be wrong, as there would be an
advancing wavefront of real data overtaking the simulated data
(which is really just real data offset by some frames).

That's acceptable for arrows in most situations, since the amount
you move is tied to the duration, but unacceptable for buttons,
which will seem to jerkily be pressed numerous times with those
wavefronts.
2016-12-18 00:46:02 -05:00
Gregor Richards
17e08c7a28 When we disconnect netplay, fully deinit it
In particular, we need to disentangle the interceding netplay callbacks.
In previous versions, if you disconnected netplay but were using a core
that made netplay stall for connections (i.e., one that has no
savestates), netplay would continue to stall because it still
interceded, even though it was supposed to be off. This fixes that.
2016-12-17 23:08:59 -05:00
Hans-Kristian Arntzen
eecb60549f No need to ugly hack in qb/conf.libs.sh. 2016-12-17 21:49:00 +01:00
Hans-Kristian Arntzen
c48bb6284e Wayland: Cursor toggling. 2016-12-17 21:34:51 +01:00
Hans-Kristian Arntzen
313ac63c33 Make use of xkb_state_update_mask.
Fixes mod keys in Wayland it seems.
2016-12-17 20:42:48 +01:00
Hans-Kristian Arntzen
b2059dcb79 Implement basic Wayland keyboard and mouse. 2016-12-17 20:28:08 +01:00
twinaphex
1c0d8f3927 Add compat_strcasestr to Xbox Salamander solutions 2016-12-17 19:37:30 +01:00
twinaphex
2f5d2d4b9f Add compat_strcasestr to Salamander builds 2016-12-17 19:35:51 +01:00
Twinaphex
b3791cec89 Merge pull request #4261 from FIX94/master
wiiu changes; move net function back into its net define block
2016-12-17 19:25:02 +01:00
FIX94
c0b023a1cf (WiiU) added basic libiosuhax support 2016-12-17 18:42:04 +01:00
FIX94
d364e5083a move net function back into its net define block 2016-12-17 18:39:18 +01:00
twinaphex
6935ce902e (archive_file.c) Cleanups/style nits 2016-12-17 17:19:32 +01:00
twinaphex
1ddd0ab1d3 (Statically linked RA) Make 'Open Archive' work when there are
no core info files
2016-12-17 17:12:53 +01:00
twinaphex
b541cd95ef (Statically linked RA) If a game from the history list belongs
to the same core as what is currently statically linked,
directly launch the game with the current executable/core
2016-12-17 16:39:28 +01:00
twinaphex
feae0823ce Prevent some implicit memsets 2016-12-17 14:40:06 +01:00
twinaphex
aafae944cb Don't memset autoconfig_params_t 2016-12-17 14:26:13 +01:00
twinaphex
d4796caabd (libetro-common) Turn path_contains_compressed_file into a macro 2016-12-17 14:01:25 +01:00