 Henrik RydgårdandGitHub
|
93fd62f54b
|
Merge pull request #13832 from unknownbrackets/events
SaveState: Make event restoring more obvious
|
2021-02-15 23:39:42 +01:00 |
|
Unknown W. Brackets
|
9d22297a90
|
Windows: Use CommonWindows more consistently.
Also, make sure WinSock2.h is included beforehand where it's needed.
|
2021-02-14 10:30:10 -08:00 |
|
ANR2ME
|
5a10835987
|
Fix lobby issue on The Warriors, probably also fix similar issue on other games too.
|
2021-02-11 20:51:49 +07:00 |
|
ANR2ME
|
0ce2c2c6e9
|
Windows recvfrom doesn't support MSG_TRUNC, so we're using dummy buffer with max size as alternative for peeking actual size of the next pending message.
|
2021-02-11 07:40:35 +07:00 |
|
ANR2ME
|
fc452c0dfd
|
Fix frozen (0 FPS) issue on Kao Challengers and Asterix & Obelix XX (probably also fix other games from the same developer with similar issue) https://github.com/hrydgard/ppsspp/issues/14103
|
2021-02-11 03:44:25 +07:00 |
|
ANR2ME
|
8432d6c5d7
|
Removing hleDelayResult from internal adhoc functions to prevent waking up thread that supposed to be blocked by the outer HLE.
|
2021-02-07 12:09:29 +07:00 |
|
ANR2ME
|
f17d387a65
|
Updated some Logs to help finding the location of the call to debug.
|
2021-02-07 12:08:02 +07:00 |
|
ANR2ME
|
ddc122bcbe
|
Moving hleDelayResult from internal function of SetSocketAlert to prevent waking up HLE-blocked thread
|
2021-02-05 21:54:00 +07:00 |
|
ANR2ME
|
a7eccc0c6f
|
Minor renaming
|
2021-02-05 21:53:59 +07:00 |
|
ANR2ME
|
849fe4ade1
|
Updated PdpStat to prevent rcv_sb_cc from exceeding the buffer size arg (since we use larger buffer size to prevent micro stutters or disconnection issue due to too many dropped packets with small buffer size).
TODO: May need to improve it to be able to calculate the correct size if there are multiple datagram messages
|
2021-02-04 10:31:01 +07:00 |
|
ANR2ME
|
f2e7a2a9ba
|
Fix possible lock issue during AdhocMatchingStart
|
2021-02-04 10:15:29 +07:00 |
|
ANR2ME
|
a51036ffaf
|
Updated PdpStat and PtpStat
|
2021-02-02 03:39:04 +07:00 |
|
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 |
|
ANR2ME
|
1bfe089785
|
Added delay result to SetSocketAlert for other threads that use the socket to trigger the alert.
|
2020-10-29 06:00:16 +07:00 |
|
ANR2ME
|
d87713226c
|
Socket alerts can be triggered regardless of the nonblocking flag
|
2020-10-29 06:00:15 +07:00 |
|
ANR2ME
|
fa95afab07
|
Do not clear socket alert flag after signaled.
|
2020-10-29 06:00:15 +07:00 |
|
ANR2ME
|
0363319f14
|
Prevent Scanning issue after reconnected to AdhocServer, also Updated logging to showing the error code on sceNetAdhocctlScan
|
2020-10-29 06:00:15 +07:00 |
|
ANR2ME
|
40102787c8
|
Updated validity checking of mac address on PdpCreate, PtpListen, and PtpOpen
|
2020-10-29 06:00:15 +07:00 |
|
ANR2ME
|
8762718abf
|
Updated Loggings and return value of PdpSend and PdpRecv
|
2020-10-29 06:00:14 +07:00 |
|
ANR2ME
|
3020efdbe7
|
Added hleEatMicro (may not be accurate tho) on PdpSend, PdpRecv, and GetPeerInfo.
|
2020-10-29 06:00:14 +07:00 |
|
ANR2ME
|
5216433e0c
|
Prevent memory leaks when attempting to play GameMode multiplayer again after loading from SaveState in the middle of GameMode multiplayer.
|
2020-10-29 06:00:13 +07:00 |
|
ANR2ME
|
335650da6c
|
Prevent Port leaks after loading SaveState in the middle of multiplayer resulting to "port in use" error on the next attempt to play multiplayer.
|
2020-10-29 06:00:13 +07:00 |
|
ANR2ME
|
e11e8a7fda
|
Updated Loggings and return value on PtpSend, PtpFlush, and PtpRecv.
|
2020-10-19 23:32:10 +07:00 |
|
ANR2ME
|
f597382619
|
Show a warning just in case an abnormal situation occurred.
|
2020-10-19 23:32:09 +07:00 |
|
ANR2ME
|
152f9a7e2b
|
Fix disconnection issue due to timeout on blocking PTP Socket
|
2020-10-19 23:32:06 +07:00 |
|
ANR2ME
|
e5a02cebb4
|
Added Connection Refused error code on PtpConnect
|
2020-10-19 19:08:10 +07:00 |
|