Commit Graph

38455 Commits

Author SHA1 Message Date
Gregor Richards
fb3c35dc9f Handle forwarding of netplay state demotions correctly.
Netplay state demotions, i.e. changes from playing to spectating or
disconnected states, could cause chain disconnections of all other
clients. This was due to a bug in when MODE change messages were sent.
Clients rely on the server sending all messages in its own order, and as
a consequence, the server typically holds messages for retransmission
until they can be retransmitted at the correct time. MODE messages were
not held, so could be sent early. When they were sent early, this caused
other clients to panic and disconnect.

A smaller but much stupider secondary bug was also fixed, in which the
first connection could be dropped due simply to writing connections[0]
instead of connections[i] somewhere.
2017-06-06 21:35:09 -04:00
twinaphex
d9e6cbb065 Simplifications to SDL input driver 2017-06-07 01:45:09 +02:00
twinaphex
59c3f8b06e Cleanups 2017-06-07 01:19:44 +02:00
twinaphex
603d4d0464 (udev/x11) Simplifications 2017-06-07 01:17:55 +02:00
twinaphex
9e93bdbe27 (linuxraw_input.c) simplifications 2017-06-07 01:12:35 +02:00
Twinaphex
3dede6d71a OSX buildfix 2017-06-07 00:35:11 +02:00
twinaphex
c3f5c499f3 Simplify cocoa_input 2017-06-07 00:33:03 +02:00
twinaphex
afd6a2bec5 Cleanups 2017-06-07 00:10:39 +02:00
twinaphex
604a558382 Get rid of input_wl_is_pressed 2017-06-07 00:09:31 +02:00
twinaphex
deb804ab2f (x11_input.c) get rid of this inline function 2017-06-06 23:50:51 +02:00
twinaphex
c7b45aaf80 warning fix for C89_BUILD 2017-06-06 23:22:20 +02:00
twinaphex
3d61c7fdfc MSVC buildfix 2017-06-06 23:19:07 +02:00
Twinaphex
b148ae8092 Merge pull request #5035 from flibitijibibo/master
[SDL2] Fix joypad info for SDL_GameController devices
2017-06-06 22:34:47 +02:00
Ethan Lee
bf20021338 [SDL2] Fix joypad info for SDL_GameController devices 2017-06-06 16:16:44 -04:00
twinaphex
3443153ccc (DRM/KMS) If we have the X11 input driver selected, default to udev and/or
linuxraw driver instead
2017-06-06 21:15:32 +02:00
twinaphex
96bfb35e0b Set default input driver to x - udev can be hit/miss on some
people's configurations
2017-06-06 21:04:15 +02:00
Twinaphex
89fe5625cb Merge pull request #5031 from casdevel/winraw
Add L/R virtual keys handling
2017-06-06 18:44:49 +02:00
Zoran Vuckovic
d88b76c26f Add L/R virtual keys handling 2017-06-06 13:50:41 +02:00
Twinaphex
829392398e Merge pull request #5030 from blackgur/master
Update msg_hash_ru.h
2017-06-06 10:20:58 +02:00
twinaphex
f5225a479e (task_database_cue.c) Use string_is_equal instead 2017-06-06 10:20:34 +02:00
blackgur
d479bd0e1e Update msg_hash_ru.h 2017-06-06 11:15:54 +03:00
twinaphex
3d54afdc1b Change to string_is_equal 2017-06-06 09:46:13 +02:00
twinaphex
1d65222051 No longer need linux/input.h header 2017-06-06 08:31:41 +02:00
twinaphex
5d78c2209f Remove obsolete header 2017-06-06 08:30:01 +02:00
twinaphex
efdfb29d50 Turn input_joypad_is_pressed into static inline function 2017-06-06 08:12:53 +02:00
twinaphex
7685f93d00 input_menu_keys_pressed - don't use input_joypad_pressed 2017-06-06 07:59:41 +02:00
twinaphex
ded0813f6b Don't need this header 2017-06-06 07:36:06 +02:00
twinaphex
f307135d1d Split up wayland input driver into separate driver; and
improve mouse support for menu
2017-06-06 07:34:33 +02:00
twinaphex
470c857470 Only unload core when it's not the dummy core 2017-06-06 06:16:43 +02:00
twinaphex
6b3dbff75f Merge input_driver.c and input_joypad_driver.c 2017-06-06 05:56:02 +02:00
twinaphex
0bd998665b Turn this function into static INLINE 2017-06-06 05:38:01 +02:00
twinaphex
007bb0de39 Buildfix 2017-06-06 05:36:12 +02:00
twinaphex
9ebfb36b4e Use rarch_keysym_lut directly 2017-06-06 05:17:25 +02:00
twinaphex
e276142be3 (udev_input.c) Cleanup 2017-06-06 04:18:35 +02:00
twinaphex
4f22c3d13e (x11_input.c) Simplifications 2017-06-06 04:15:45 +02:00
twinaphex
15c4f82dec (udev_input.c) Cleanups 2017-06-06 03:59:52 +02:00
twinaphex
ae98ea7210 Remove unused function 2017-06-06 03:49:21 +02:00
twinaphex
eee1ff7b46 Update NL localization 2017-06-05 19:53:16 +02:00
Francisco José García García
c9d90ce1b6 (VITA) Add support for external usb if mounted 2017-06-05 08:52:20 +02:00
twinaphex
cacde2b464 (dynamic_dummy.c) Uniquely name frame_buf 2017-06-05 06:53:18 +02:00
twinaphex
7bcffde6c6 Revert "Add this conditional check"
This reverts commit f5fc95cd04.
2017-06-05 06:52:16 +02:00
twinaphex
f5fc95cd04 Add this conditional check 2017-06-05 06:50:24 +02:00
twinaphex
c3c772a79a (udev) Avoid warning with helgrind - input descriptor -1 is invalid 2017-06-05 05:18:38 +02:00
Twinaphex
d903b1cc60 Merge pull request #5026 from fr500/staging
AARCH64 support
2017-06-05 04:37:31 +02:00
radius
304a647248 dlopen libandroid from lib64 instead 2017-06-04 21:20:39 -05:00
radius
8f55e77afe disable NEON 2017-06-04 21:00:40 -05:00
radius
c6c8881ab2 add AARCH64 defines 2017-06-04 20:38:53 -05:00
twinaphex
37c0a2d923 Remove this code 2017-06-04 22:37:49 +02:00
twinaphex
f5c5f489b3 (stb_vorbis.h) Cleanups 2017-06-04 22:34:27 +02:00
twinaphex
dae733132a (stb_vorbis.h) Remove code we don't need 2017-06-04 22:28:06 +02:00