87 Commits

Author SHA1 Message Date
twinaphex
a5efd70db7 Reorder structs, alignment 2020-08-15 18:53:52 +02:00
twinaphex
9fda2bdebd Add TODO/FIXME comments 2020-06-04 14:09:45 +02:00
twinaphex
737718ba5d (network) Turn functions that are not accessed outside static 2020-05-24 20:38:50 +02:00
Autechre
7b8983a0e0
Merge pull request #10594 from MrHuu/master
(3DS) Enable basic networking / cheevos
2020-05-10 14:07:21 +02:00
twinaphex
3ad4b057f9 Go back to 1.8.4 netcode 2020-05-10 01:02:47 +02:00
MrHuu
e519ccd0be (3DS) Enable basic networking / cheevos 2020-05-08 20:50:15 +02:00
twinaphex
013117318c (network) Get rid of all the settings pointer grabbing 2020-02-12 20:01:48 +01:00
twinaphex
764990bb59 Revert "Aggressively simplify netplay_handshake - this function was very"
This reverts commit 096f992cc0cb831743dc49bfbfce3e26636145aa.
2020-01-28 19:15:12 +01:00
twinaphex
096f992cc0 Aggressively simplify netplay_handshake - this function was very
weird - the conditional was never triggered because all instances
of connection->mode being greater than or equal to
NETPLAY_CONNECTION_CONNECTED would already early return anyway
2020-01-28 14:29:30 +01:00
twinaphex
fa328c1590 (Netplay) Cleanups 2020-01-02 17:07:03 +01:00
twinaphex
d30b2ecaca Merge menu_input_dialog.c into retroarch.c 2019-08-15 01:08:34 +02:00
twinaphex
0552c64161 (WiiU) Attempt to fix build 2019-08-11 23:39:26 +02:00
twinaphex
d905986a52 Rename functions - change rarch_ prefix to retroarch_ 2019-07-20 12:43:43 +02:00
twinaphex
f4bf218f35 (Menu) We need to tell rarch_menu_running_finished whether we want
to exit RetroArch or not - to avoid certain crashes when trying to
access the settings pointer - which should already be freed at this
point
2019-06-30 11:23:18 +02:00
twinaphex
5f2e3c283d (netplay)/network) Style nits/cleanups 2019-06-26 07:13:50 +02:00
twinaphex
7fb5d9da62 Revert this 2019-04-27 04:44:01 +02:00
twinaphex
58073eeb15 Small cleanup 2019-04-27 04:43:07 +02:00
natinusala
c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
orbea
28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
meepingsnesroms
bcb4d61510 Add NULL check to prevent empty password from crashing RetroArch 2018-11-24 12:58:17 -08:00
Gregor Richards
f897b95d09 Avoid buffer overflows due to sha256_hash's nul-terminator. 2018-11-23 08:24:54 -05:00
Gregor Richards
2a67be3a7c
Revert "This should fix netplay passwords" 2018-11-23 08:15:22 -05:00
meepingsnesroms
129beaefb0 This should fix netplay passwords 2018-11-22 18:46:33 -08:00
twinaphex
a662b62d19 Use runloop_get_libretro_system_info in more places - clean some code up 2018-10-30 17:11:07 +01:00
twinaphex
372603858d Revert "(Menu) Update menu code"
This reverts commit f481924f1e9b3a59211df2cc99d094daf0a7ae3f.
2018-04-11 06:10:51 +02:00
twinaphex
f481924f1e (Menu) Update menu code 2018-04-11 03:04:58 +02:00
Twinaphex
08a54e45f2 Get rid of a lot of implicit conversions 2018-04-09 15:56:45 +02:00
twinaphex
6437e4b4a9 remove tons of unreferenced local variables 2018-01-23 05:49:03 +01:00
Gregor Richards
50de28b1a1 Netplay keyboard hack for keydown/keyup support
An unfortunate hack for cores that translate the keyboard input device
into keydown/keyup events without saving that in the savestate. We
simply replay the previous frame's input before loading the rewound
frame's state, to assure that both the state and the keyup/down state
are correct.

Ideally, cores would save this as part of the state, but it's a bit
proximal and a fairly significant change for those that use it, so it's
easier to fix in netplay.
2018-01-05 14:27:02 -05:00
Gregor Richards
a96eb24247 Support for keyboards over netplay. 2018-01-05 14:27:02 -05:00
Gregor Richards
c01a199493 Netplay input device abstraction, support for mice
This abstracts away the details of particular input devices for netplay,
and adds support for mice and (similar) lightguns. Unfortunately, in
practice, no core handles mice or lightguns in a savestate-safe way, so
they need to be used in stateless mode to be reliable, but they do work.
2018-01-05 14:27:02 -05:00
Gregor Richards
fff95facc7 New netplay failure messages. 2018-01-05 14:26:19 -05:00
Gregor Richards
f7dba84c67 Netplay mode change improvements
(1) All mode change code unified, so server mode changes and client mode
changes and announcements go through the same functions

(2) New messages which are translateable and work with multiple input
devices
2018-01-05 14:26:19 -05:00
Gregor Richards
74901e6161 Whoops, missed one refactor rename. 2018-01-05 14:24:43 -05:00
Gregor Richards
7af7616d3d New initial connection header and support for inter-version connections. 2018-01-05 14:24:43 -05:00
Gregor Richards
fe80c4ce2c Added real pad sharing modes. 2018-01-05 14:24:43 -05:00
Gregor Richards
e4029b72c1 Rename things back after renaming for refactoring. 2018-01-05 14:24:42 -05:00
Gregor Richards
ed69916e59 First cut of input changes (not yet working) 2018-01-05 14:24:42 -05:00
Gregor Richards
6d4119690d First step (not yet compiling) of changing around Netplay input. 2018-01-05 14:24:42 -05:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
e16371b8a5 Merge input_config.c and input_driver.c 2017-08-31 02:25:04 +02:00
twinaphex
b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
Twinaphex
e2be9e659d Silence some warnings 2017-06-08 02:44:38 +02:00
twinaphex
449483206f Revert "New attempt to fix memory leaks of struct retro_system_info"
This reverts commit a1d3dd69dd51ba21b07e9fb96cd1a7d05f435974.
2017-05-30 01:44:49 +02:00
twinaphex
a1d3dd69dd New attempt to fix memory leaks of struct retro_system_info
char variables
2017-05-29 22:24:10 +02:00
aliaspider
934f7c58ba (WiiU) enable networking. 2017-05-23 10:24:23 +01:00
twinaphex
f51aa6e4ec Add TODO/FIXME note 2017-05-17 09:10:58 +02:00
twinaphex
0aeb683444 Style nits/cleanups 2017-05-16 20:33:14 +02:00
twinaphex
944eff06b8 Cleanup 2017-05-16 20:25:54 +02:00
twinaphex
2562391167 Split up runloop message queue code from netplay_log_connection 2017-05-16 20:24:08 +02:00