Commit Graph

442 Commits

Author SHA1 Message Date
ANR2ME 731461ad4c Minor changes. 2020-10-10 01:01:35 +07:00
ANR2ME ee96f5aef0 Return early to reduce indentation on AdhocMatching code 2020-10-10 01:01:24 +07:00
ANR2ME 93e2a1b586 Updated AdhocPollSocket implementation to fix Bleach Heat the Soul 7, Fate Unlimited Codes, Carnage Heart EXA 2020-10-10 01:01:12 +07:00
ANR2ME 2b6a573c3b Prevent getting too many Kernel Errors in the log during a Shutdown cleanups due to kernelObjects already cleared. 2020-10-10 01:00:59 +07:00
ANR2ME 8b2073cd7f Prevent Dissidia 012 from opening too many ports when failed to connect continuously. 2020-10-10 01:00:32 +07:00
ANR2ME fabcb60c9a Making the workaround that fix Gundam vs Gundam Next Plus to be optional as it can improve connectivity on other games over high latency networks, and fix GvG Next Plus properly. 2020-10-10 01:00:32 +07:00
ANR2ME 90aca968ce Updated AdhocSocket struct, and an attempt to reduce stutters by increasing the send buffer a little bit. 2020-10-10 01:00:30 +07:00
ANR2ME d628eb2ebd Fix Falcom games (ie. Ys vs. Sora no Kiseki, Vantage Master Portable) 2020-10-09 23:45:12 +07:00
ANR2ME e475a0e6fa Removing ETIMEDOUT from non-blocking socket's error checks 2020-10-09 23:42:40 +07:00
ANR2ME 6d02e25318 Updated GameMode implementation to fix Bomberman, also improved performance on BattleZone. (+1 squashed commits)
Squashed commits:

[4a3168b2d] GameMode oops
2020-10-09 23:42:03 +07:00
ANR2ME 8a96112e1a Fix Apctl and Adhocctl state change timings to works properly. Which fix the stuck MessageBox on Naruto Shippuden Ultimate Ninja Heroes 3 and .hack//Link properly. 2020-10-09 23:37:35 +07:00
ANR2ME 59f395f6ef Removing the workaround that fix the stuck MessageBox on Naruto Shippuden Ultimate Ninja Heroes 3 and .hack//Link but having a side effect of 0.5 second lag 2020-10-09 13:41:36 +07:00
Henrik Rydgård ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård 15382d5f94 Move threading utils from native to Common 2020-10-01 09:27:25 +02:00
Henrik Rydgård 1e6c13cb56 Delete more old detritus 2020-09-29 10:07:07 +02:00
Henrik Rydgård 054acf768c Don't cache time in a variable.
A little weirdness in the code that has stuck around for a long, long
time. It's really not necessary and mostly just confusing.
2020-09-24 23:52:43 +02:00
ANR2ME 59f8369cd7 An attempt to improve connection stability. 2020-09-24 01:09:57 +07:00
ANR2ME adab5ff5c9 Fixed returned error code on sceNetAdhocctlDelHandler 2020-09-24 01:09:22 +07:00
ANR2ME e6e7f5d1e7 Minor fix to sceNetAdhocctlGetPeerInfo 2020-09-24 01:09:22 +07:00
ANR2ME bd37d3e32c Added more info on some sceNet logs 2020-09-23 04:30:14 +07:00
ANR2ME 4881f4f0bd Fixed PdpStat and PtpStat info 2020-09-22 10:16:04 +07:00
ANR2ME e642f1b846 Fixed returned error code of sceNetAdhocctlDisconnect 2020-09-22 09:50:37 +07:00
ANR2ME a840bf9690 Added alerted flags info on AdhocSocket to be used on PollSocket 2020-09-21 06:42:40 +07:00
ANR2ME 115ad97e0f Using REPORT_ONCE to report some of GameMode HLE existance. 2020-09-20 23:50:11 +07:00
ANR2ME 3439511e0c Implementing Adhoc GameMode HLE 2020-09-20 11:55:16 +07:00
ANR2ME a18e4ecd6b Minor changes to adhoc timestamps 2020-09-20 11:29:28 +07:00
ANR2ME 02ed5058c0 Fixed crash issue when creating/connecting to a null group name. 2020-09-18 14:11:51 +07:00
ANR2ME e690dc62dc Fix an issue of major performance drops when using accepted PTP Sockets. 2020-09-15 01:53:18 +07:00
ANR2ME 2808903663 Making sure the are no compiler warnings on adhoc code on android 2020-09-14 03:38:20 +07:00
ANR2ME 8d68e917b7 Prevent Client side from forever re-trying to connect to Exited Host on Shin Sangoku Musou Multi Raid 2 2020-09-14 03:38:20 +07:00
ANR2ME 3b38062a47 Fix Failed to Bind already used port issue on Android (and probably linux too). This should fix Dynasty Warrior Strikeforce and Shin Sangoku Musou Multi Raid 2 2020-09-12 09:08:50 +07:00
ANR2ME 210413cba7 Allows reusing the same port for PtpListen and PtpOpen. This fixes Shin Sangoku Musou Multi Raid 2, and probably other games with similar issue (ie. Dynasty Warrior Strikeforce) 2020-09-11 20:29:49 +07:00
ANR2ME 3eeb48bb40 Clients shouldn't try to detects timeout of other clients, because most of the time the client side doesn't have timeout information given, better wait for the host to tells them if a client got disconnected. 2020-09-11 13:44:09 +07:00
ANR2ME 2e9952cf6e Prevent spamming the log too much on some games 2020-09-11 07:19:03 +07:00
ANR2ME c57d81cc3e Fixed sceNetAdhocMatchingGetMembers error return value 2020-09-11 07:19:03 +07:00
ANR2ME 97e5a1f447 Combining PDP and PTP socket's array into a union array. Fixes Hot Shots Tennis that doesn't works well with socketId > 255 2020-09-09 14:21:32 +07:00
ANR2ME 57584343a2 Simulate blocking PtpFlush 2020-09-08 19:16:44 +07:00
ANR2ME 871707c6a7 Allows blocking socket simulation on multiple threads simultaneously 2020-09-08 13:17:52 +07:00
ANR2ME d8d2fd8107 Making use Adhoc SocketAlert Flags to stop/abort blocking sockets 2020-09-08 13:17:52 +07:00
Unknown W. Brackets fcaef648ec Net: Fix memory corruption on save old state.
Can't restore these if they're not inited either.
2020-09-07 07:23:13 -07:00
Unknown W. Brackets b5712efdfb Net: Correct save state from old loaded state.
Fixes #13395.
2020-09-07 07:11:33 -07:00
Henrik Rydgård 55ca5ab1d7 Merge pull request #13393 from ANR2ME/adhocctl_fix
Adhocctl fix - Fix SceNetAdhocctlParameter structure
2020-09-06 23:24:44 +02:00
ANR2ME b1d6f6aa48 Added some more info in Debug Log to help debugging 2020-09-07 03:38:45 +07:00
ANR2ME 69b3c788eb Ignore SIGPIPE error on certain system (ie. Linux) 2020-09-07 02:38:45 +07:00
ANR2ME c2a4d56430 An attempt to implement AdhocSocketAlert 2020-09-06 11:12:04 +07:00
ANR2ME ff6b466eff Oops forgot to replace these numbers with const on adhoc socket reindexing PR 2020-09-06 05:53:16 +07:00
Henrik Rydgård 5f1e3b2950 Merge pull request #13383 from ANR2ME/adhocctl_fix
Adhocctl Fix - Valhalla Knights 2
2020-09-05 10:07:33 +02:00
Henrik Rydgård 46208f8724 Merge pull request #13384 from ANR2ME/adhocmatching_fix
AdhocMatching Timeout Fix - Phantasy Star Portable 2 Timeout issue
2020-09-05 10:06:44 +02:00
ANR2ME 00d2b488dd Reindexing PDP and PTP socket using const/var instead of using confusing raw numbers 2020-09-05 13:44:35 +07:00
ANR2ME 19cc81fe91 Fix crash issue due to out of bound when indexing PDP socket 2020-09-05 13:17:20 +07:00