Commit Graph
14759 Commits
Author SHA1 Message Date
ANR2ME ff6b466eff Oops forgot to replace these numbers with const on adhoc socket reindexing PR 2020-09-06 05:53:16 +07:00
sum2012 d0f18cbbe5 Imp sceKernelFindModuleByName
#13204
2020-09-05 22:02:47 +08:00
Henrik RydgårdandGitHub 5f1e3b2950 Merge pull request #13383 from ANR2ME/adhocctl_fix
Adhocctl Fix - Valhalla Knights 2
2020-09-05 10:07:33 +02:00
Henrik RydgårdandGitHub 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
Henrik RydgårdandGitHub 75e55d5368 Merge pull request #13385 from ANR2ME/adhoc_socket
Adhoc Socket Reindexing - Fix Crash issue due to out of bound when indexing
2020-09-05 10:06:06 +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
sumandGitHub 37737ceaa1 Add draft sceKernelFindModuleByUID (#13380)
* Add draft sceKernelFindModuleByUID

#13205

* Add KERNEL_SYSCALL flag

* oop

* oop2

* Not sure why make this change before

* Last night I might be too tried
2020-09-05 07:29:56 +02:00
ANR2ME e79d3b8204 Fix Phantasy Star Portable 2 Timeout issue 2020-09-05 11:45:14 +07:00
ANR2ME 423a7b2391 Fix multiplayer on Valhalla Knights 2 2020-09-05 08:58:29 +07:00
ANR2ME c564e77b9f Fix AdhocMatching P2P Mode. This fix Bleach Heat the Soul 7 2020-09-04 16:08:07 +07:00
ANR2ME 170d313fa7 Minor changes to make sure the output struct/arg have similar value to the one from prx file (based on Kingdom Hearts BBS) 2020-09-04 13:09:46 +07:00
ANR2ME d3157205dd Don't allocate PSP's Memory during DoState 2020-09-04 13:09:45 +07:00
ANR2ME a05da1a8c5 Fix communication issue with Adhoc Server where ping to the Adhoc Server sometimes getting socket error 10053 and disconnected from Adhoc Server 2020-09-04 13:09:45 +07:00
ANR2ME 97904d7149 Fix possible stalled thread when PPSSPP closed down 2020-09-04 13:09:44 +07:00
ANR2ME 439171fc56 An attempt to reduce the lags/stutters during multiplayer caused by improper blocking behavior. 2020-09-04 13:09:44 +07:00
ANR2ME 7d2236db2f Increasing the shutdown delay so that there will be at least one "4=sceUtilityNetconfGetStatus()" after "0=sceUtilityNetconfShutdownStart()" instead of directly to "0=sceUtilityNetconfGetStatus()" (just like what happen when using utility.prx file with KHBBS on JPCSP) 2020-09-04 13:09:44 +07:00
ANR2ME 6a9cf0f575 An attempt to differentiate adhoc connect, create, and join. 2020-09-04 13:09:44 +07:00
ANR2ME db3e7d80d9 Oops we already have local mac stored in context, no longer need to getLocalMac again 2020-09-04 08:35:40 +07:00
ANR2ME 5155925516 Fix connection issue on games using AdhocMatching due to sometimes events are removed prematurely before being processed. This fix Gran Turismo where some peers could permanently be in "busy data" state. 2020-09-04 02:39:00 +07:00
ANR2ME d99f55465e Fixed possible crash issue due to lingering leftover callback events from previous multiplayer session. 2020-09-04 02:39:00 +07:00
ANR2ME 7083342046 Avoid using hleLog during a Shutdown 2020-09-04 02:38:58 +07:00
ANR2ME 804dd07c93 An attempt to sort AdhocMatching Member List in order to make a consistent list on all players (based on Host). Also fixed some disconnection issue on other players when a player is leaving the room on Gran Turismo and Patapon 3. 2020-09-04 01:32:15 +07:00
ANR2ME 405863c579 An attempt to make PDP and PTP ID to be unique so they can be polled properly together without getting conflicted ID. This fixes Gran Turismo. 2020-09-03 05:27:51 +07:00
ANR2ME 577209752e An attempt to fix sceNetAdhocPollSocket to works properly. This fixes one of the multiplayer mode on Bleach Heat the Soul 7 2020-09-03 05:17:44 +07:00
ANR2ME ca059bc962 Making sure the 1st 2-bits on the 1st byte of MAC address' OUI are zero to prevent issue with some games (ie. Gran Turismo) 2020-09-03 05:17:42 +07:00
ANR2ME 9c5f02fbf5 Default to P2P/Parent's MAC address if the target MAC on sceNetAdhocMatchingSendData is 00:00:00:00:00:00 (need to confirm whether this is correct or an error should be returned instead) 2020-09-02 21:17:38 +07:00
ANR2ME a76a5bdf56 Ignores the 1st byte of MAC address when comparing, since there might be games (ie. Gran Turismo) that tries to tamper/change the 1st byte during multiplayer upon use. 2020-09-02 21:17:38 +07:00
sum2012 f5937d0c6a Use >= 0x03080000 instead of 0x0307FFFF 2020-09-02 20:31:06 +08:00
sum2012 f13c69a0e1 Add a check in sceKernelTerminateThread
https://github.com/jpcsp/jpcsp/blob/master/src/jpcsp/HLE/modules/ThreadManForUser.java#L3971
2020-09-02 20:26:45 +08:00
Henrik Rydgård a22181df1c Partially fix Katamari (flicker due to choice of the wrong depth buffer still happening). 2020-09-01 22:54:36 +02:00
shenweip 8b5530e626 Reschedule after resuming thread from suspend. 2020-09-01 19:10:57 +08:00
Henrik RydgårdandGitHub b23434cc73 Merge pull request #13360 from hrydgard/ge-dump-guess-discid
GE dump loading: Try to use the correct GameID so compat.ini flags apply.
2020-08-30 16:20:37 +02:00
Henrik Rydgård b0365bd6ee GE dump loading: Try to use the correct GameID so compat.ini flags apply. 2020-08-30 11:48:58 +02:00
sum2012 000c20ee44 Add a check in sceKernelTerminateDeleteThread
https://github.com/jpcsp/jpcsp/blob/master/src/jpcsp/HLE/modules/ThreadManForUser.java#L3998
2020-08-30 17:44:17 +08:00
Henrik RydgårdandGitHub e33c31e187 Merge pull request #13353 from unknownbrackets/texcache
TexCache: Improve QuickTexHash a little, cleanup ARM64 defines
2020-08-29 18:35:06 +02:00
Unknown W. Brackets 6b8f7294b3 Global: Remove ARM64 define.
Was barely used anymore, and some users are specifying it when it's not
the case, so better to detect consistently.
2020-08-29 08:45:50 -07:00
shenweip 0f45e17f09 Only clear when initializating kernelMemory and userMemory. 2020-08-29 19:51:11 +08:00
shenweip df82673116 Actually clear memory when initializating. 2020-08-29 15:26:44 +08:00
Henrik RydgårdandGitHub cb3ed8f4a1 Merge pull request #13343 from unknownbrackets/xxhash
Switch to XXH3
2020-08-28 12:20:26 +02:00
Unknown W. Brackets e32524c544 GPU: Remove ReliableHash aliases.
Let's just use XXH32/XXH64 directly in texture replacements, clearer
anyway.
2020-08-28 01:15:22 -07:00
Unknown W. Brackets 53d9c10b22 irjit: Switch to XXH3. 2020-08-27 20:40:55 -07:00
Unknown W. Brackets 30625225b0 GPU: Remove neon xxhash implementation.
It's typically around the same speed now with modern compilers, and much
slower than XXH3.
2020-08-27 20:31:09 -07:00
Unknown W. Brackets 1371ef298b Net: Reduce PortManager log noise.
Shows up when running unit tests, etc.
2020-08-27 19:23:23 -07:00
Henrik Rydgård b652f62d19 SavedataParam: Be careful with const char* to string. Might help #13187 2020-08-26 22:17:42 +02:00
ANR2ME 051bbb6e14 Added 1 new NID of OpenPSID Service, also added Init & Shutdown function 2020-08-22 19:47:33 +07:00
Henrik Rydgård 26ba65f385 Some minor logging improvements that get to tag along the previous commit 2020-08-22 00:32:51 +02:00
Unknown W. Brackets d7fa5928d4 Kernel: Avoid two different Heap structs. 2020-08-19 20:56:05 -07:00
ANR2ME 0298f59fd5 Avoid using getaddrinfo during initialization as it could blocked the thread if there is no network 2020-08-19 12:33:20 +07:00
Henrik RydgårdandGitHub 0752e7d158 Merge pull request #13302 from unknownbrackets/net-local
Net: Simplify local IP lookup and cleanup instance counter a bit
2020-08-18 21:29:29 +02:00