Commit graph

10186 commits

Author SHA1 Message Date
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
6e50487fcd Updated error code on sceNetGetLocalEtherAddr 2020-10-29 06:00:13 +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
shenweip
eb5c22bbae SaveState:Don't register the event during Dostate. 2020-10-27 19:50:27 +08:00
shenweip
e7147fdb09 Fixes savesate for usbmic.
Prevents audiobuf from being null pointer.
2020-10-24 21:06:36 +08:00
Henrik Rydgård
ee11c796a1 Revert "Try my theory about memory mirrors on iOS 14. See #13451"
This reverts commit 0f647684a3.
2020-10-23 06:57:56 +02:00
shenweip
a0fe0e38c1 SwicthUMD:Only update Switch UMD item of Windows menu instead of entire UI. 2020-10-22 17:45:29 +08:00
Henrik Rydgård
0f647684a3 Try my theory about memory mirrors on iOS 14. See #13451 2020-10-22 10:12:21 +02:00
Henrik Rydgård
dc0e9bf2f6
Merge pull request #13560 from unknownbrackets/free-space
Io: Account for free space on the host device
2020-10-20 11:52:53 +02:00
Unknown W. Brackets
c95e695a38 Io: Track initial free space for compat flag.
This seems to be necessary for Assassin's Creed.  See #12761.
2020-10-19 22:42:49 -07:00
Unknown W. Brackets
9686520dbd Psmf: Cleanup logging. 2020-10-19 19:24:08 -07:00
Unknown W. Brackets
c8b2dd123f Psmf: Handle older states for delayed state change. 2020-10-19 19:06:32 -07:00
Henrik Rydgård
d4c02ccc1c Address feedback about recent changes
Thanks unknown.
2020-10-19 22:50:31 +02:00
ANR2ME
30b9f46aa5 Don't need to connect if AdhocServer IP is the same with this instance localhost IP and having AdhocServer disabled 2020-10-19 23:34:47 +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
ANR2ME
d395611135 Fixed disconnection issue when multiplayer game started on Shaun White Snowboarding, and improved multiplayer performance on games that use GameMode. 2020-10-19 19:08:10 +07:00
ANR2ME
5a169077f1 Updated Adhocctl timings based on the timestamp on JPCSP + prx files 2020-10-19 19:08:10 +07:00
shenweip
c79d20ca07 DoState. 2020-10-19 16:57:51 +08:00
shenweip
d940f80b88 PsmfPlayer:The status will not be changed until the delay result is finished. 2020-10-19 16:29:42 +08:00
Unknown W. Brackets
e3a201fbc5 Io: Account for free space on the host device. 2020-10-18 20:55:30 -07:00
Unknown W. Brackets
e4ad514e42 Qt: Remove Qt-specific screenshot path. 2020-10-18 20:46:09 -07:00
Henrik Rydgård
7e358f4c4b
Merge pull request #13550 from ANR2ME/adhoc_fix
Adhoc fix - Fixes some Capcom Classic games
2020-10-16 13:19:10 +02:00
ANR2ME
0a04f47ea9 Removing the workaround that was used to fix Gran Turismo in the past but no longer needed. Since zero mac address is an invalid mac we should return an error. 2020-10-16 16:15:42 +07:00
ANR2ME
b86f3ca0f4 Updated AdhocPollSocket timeout checking. 2020-10-16 16:15:42 +07:00
ANR2ME
6d0a4fe681 Increasing Adhocctl timeout to 5 seconds (with side effects of longer freezes when detecting disconnected players), to prevent failure to connect to AdhocServer on time due to some unknown reason where sometimes it tooks more than 2 seconds for Adhocctl Init to connect to AdhocServer on localhost (normally only 10 ms), and sometimes it tooks more than 1 seconds for built-in AdhocServer to be ready (normally only 1 ms) 2020-10-16 16:15:40 +07:00
Henrik Rydgård
4c034ce988 Make all the Comp_Cache implementations the same.
We have the informative comments in the interpreter implementation
anyway.
2020-10-16 09:13:41 +02:00
ANR2ME
88ebed4c02 Prevent AdhocServer Pings from spamming Debug Log 2020-10-16 12:23:20 +07:00
ANR2ME
40c4df2306 Fix disconnection issue when joining multiplayer on Capcom Puzzle World 2020-10-16 12:23:18 +07:00
ANR2ME
cc1ff5b94c 2nd or more instance of PPSSPP should only bind it's own localhost IP for Adhoc Server. Fixes Capcom Classics Collection Remix multiplayer on multiple-instance. 2020-10-16 12:10:50 +07:00
Henrik Rydgård
1405e28166 More buildfixes 2020-10-16 00:24:12 +02:00
Henrik Rydgård
c1b52c398b Minor cleanups related to #13527
Doesn't fix it though. A "Resume" button will be added later to BREAK
crashes.
2020-10-14 23:45:19 +02:00
Henrik Rydgård
b3deaab963 VS 2017 buildfix hack - these parameters are new to Windows.
Thanks autechre.
2020-10-14 23:15:49 +02:00
Henrik Rydgård
b8e8325888 Fix text issue in God Eater Burst. Forgot that games can allocate texture in volatile memory too.
We considered any texture from kernel memory "reliable", which is wrong
since games can allocate out of the upper half of kernel RAM, which is
called "volatile" memory.

Fixes issue #13511
2020-10-14 00:09:08 +02:00