Commit Graph

339 Commits

Author SHA1 Message Date
ANR2ME
d907906c74 Fix connection issue on Dynasty Warriors (Shin Sangoku Musou) games when playing with more than 2 players. 2021-01-30 15:20:24 +07:00
ANR2ME
46397c40a0 Updated GameMode initial data sync, in case remote players aren't listening yet when sending initial data (fix Pocket Pool) 2021-01-27 19:20:51 +07:00
ANR2ME
3d813aec73 Don't allow ForcedFirstConnect hack when using PtpConnect within PtpOpen to prevent returning result from blocking PtpConnect instead of result of PtpOpen. 2021-01-25 18:40:20 +07:00
ANR2ME
6b110af3e6 Fix returned error code on PtpSend and PtpRecv when socket is not connected yet. 2021-01-24 18:48:00 +07:00
ANR2ME
964b8bf331 Do PtpConnect internally during PtpOpen, since some games (ie. The Warriors) seems to do PtpSend immediately after PtpOpen without trying to PtpConnect first. 2021-01-24 18:47:58 +07:00
ANR2ME
23efd22efb Fix Stuck issue on some games (Dissidia 012, Full Auto 2, etc) when Failed to connect to Adhoc Server (faked success) 2021-01-16 20:55:40 +07:00
ANR2ME
228d17ef0c Reducing AdhocMatching events delay to prevent matchingEvents from piling up on Lord of Arcana. 2021-01-09 01:54:47 +07:00
ANR2ME
72549443e4 Send AdhocMatching Data from within HLE whenever possible instead of through matchingEvent Thread. 2021-01-09 01:52:29 +07:00
Unknown W. Brackets
06f8ab5a49 SaveState: Make event restoring more obvious.
We still must restore all events, but everything can be taken care of
during the save state load.
2020-12-28 13:29:19 -08:00
ANR2ME
a2a164b228 Using MSG_TRUNC along with MSG_PEEK as a precaution of a possible buffer overflow when peeking recv buffer. 2020-12-28 04:30:32 +07:00
ANR2ME
b10797db95 Fixed an issue where sometimes a player unable to join a host on Warriors Orochi 2 (should also fix similar issue on other games that use PDP/UDP on Windows) 2020-12-25 00:27:35 +07:00
ANR2ME
a20567222a Close the port immediately when closing a socket. 2020-12-25 00:23:44 +07:00
ANR2ME
ade89270c8 Updated socket's send buffer size as an attempt to fix PSP2i unable to enter dungeon when using RadminVPN issue #13648 2020-11-16 19:03:11 +07:00
ANR2ME
38d887ce88 Change socket's MSS based on PSP_ADHOC_PTP_MSS 2020-11-16 19:03:11 +07:00
ANR2ME
755a5dd7d6 Fix Starting multiplayer issue on DBZ Team Tag 2020-11-03 09:32:00 +07:00
ANR2ME
5d0b6e83b2 Reducing the delay on GetPeerInfo 2020-11-03 09:31:25 +07:00
ANR2ME
e56b5592bf Fix significant FPS drops on Hitman Reborn Battle Arena 2 2020-10-31 13:19:32 +07:00
ANR2ME
47f27ed184 Updated Blocking simulation of AdhocSocket (especially PdpRecv) 2020-10-31 13:18:17 +07:00
ANR2ME
4eca124710 Blocks current thread to synchronize initial GameMode data. Fixes desync issue when GameMode multiplayer mission is being started. 2020-10-29 06:08:51 +07:00
ANR2ME
a47cb101bb Moving socket creation from AdhocMatchingCreate to AdhocMatchingStart. (Fixes Dissidia 012 unable to see any room issue) 2020-10-29 06:04:52 +07:00
ANR2ME
3aed0c258b Fixed an issue with AdhocMatching where there is a possibility that some data didn't get sent upon AdhocMatchingStop causing Joined players to get timeout. (Fixed Star Wars: The Force Unleashed) 2020-10-29 06:04:24 +07:00
ANR2ME
399f56f73b Implementing Adhocctl Busy state to prevent getting kicked out from Adhoc Server on games that tries to leave the group multiple times in a row.
Also Updated Adhocctl behavior.
2020-10-29 06:04:22 +07:00
ANR2ME
0157fe4988 Updated GameMode API (Fixed Pocket Pool) 2020-10-29 06:00:16 +07:00
ANR2ME
22419bfc6c Prevent memory leaks when clearing AdhocMatching events. 2020-10-29 06:00:16 +07:00
ANR2ME
bff18c07d0 Fixed unable to see game room issue on Air Conflicts - Aces Of World War 2, should also fix other games with similar issue (due to invalid group mode) 2020-10-29 06:00:16 +07:00