Commit graph

27912 commits

Author SHA1 Message Date
sum
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
Henrik Rydgård
d6399b6036
Merge pull request #13378 from ANR2ME/adhocmatching_fix
AdhocMatching P2P Mode Fix - Bleach Heat the Soul 7
2020-09-04 11:13:51 +02:00
ANR2ME
c564e77b9f Fix AdhocMatching P2P Mode. This fix Bleach Heat the Soul 7 2020-09-04 16:08:07 +07:00
Henrik Rydgård
619009be93
Merge pull request #13318 from ANR2ME/net_blocking
Simulate blocking behavior using non-blocking on networking
2020-09-04 09:25:33 +02:00
Henrik Rydgård
56892944f6 Fix crash in Digimon Adventures.
Fixes #13371
2020-09-04 09:01:42 +02: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
Henrik Rydgård
4520a20a9f
Merge pull request #13377 from ANR2ME/adhocmatching_fix
Oops we already have local mac stored in context
2020-09-04 07:17:38 +02: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
Henrik Rydgård
b6aa62bcec
Merge pull request #13375 from ANR2ME/adhocmatching_fix
AdhocMatching fix - Gran Turismo
2020-09-03 22:28:57 +02: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
Henrik Rydgård
0dcaeb7841
Merge pull request #13372 from sum2012/kernel_minor
Add a check in sceKernelTerminateThread
2020-09-02 15:01:20 +02: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
d8a5c710f6
Merge pull request #13367 from hrydgard/katamari-fix
More depth texturing fixes, re-fixing Me and My Katamari in Vulkan
2020-09-02 00:32:34 +02:00
Henrik Rydgård
5697b6a9c5 Look in the mirrors or not depending on whether the texture's address is in the mirrors (detected as a depth texture).
Also removes reporting that no longer makes sense.
2020-09-01 23:05:15 +02:00
Henrik Rydgård
a1e5f1b052 When going the other way, there can be multiple textures that need updating. 2020-09-01 22:54:36 +02: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
Henrik Rydgård
e8c2fce1b1
Merge pull request #13368 from shenweip/thread
Reschedule after resuming thread from suspend.
2020-09-01 13:31:09 +02:00
shenweip
8b5530e626 Reschedule after resuming thread from suspend. 2020-09-01 19:10:57 +08:00
Henrik Rydgård
5043f05687 Oops, crashfix for late change 2020-08-31 10:37:28 +02:00
Henrik Rydgård
f220ab0263
Merge pull request #13355 from hrydgard/refactor-framebuffer-attach-2
Refactor framebuffer attachment. Fixes Test Drive Unlimited performance
2020-08-31 10:25:47 +02:00
Henrik Rydgård
064f2b6d01 Add some ONCE-reporting of multiple candidate situations 2020-08-31 09:42:15 +02:00
Henrik Rydgård
77ac80dc0d
Merge pull request #13362 from hrydgard/shrink-cardboard-vr-button
Shrink the "Cardboard VR Off" button.
2020-08-30 23:03:32 +02:00
Henrik Rydgård
e0d797a9be Forgot the if, oops. 2020-08-30 22:43:13 +02:00
Henrik Rydgård
cdf11dffd1 Shrink the "Cardboard VR Off" button.
Got a complaint through email that it was so large it could be visible with
the cardboard on, despite its location.
2020-08-30 17:50:42 +02:00
Henrik Rydgård
eda4bb2341 Test Drive: Allow virtual framebuffer copies. This eliminates the hyper expensive readbacks.
Write some comments in Depal about how we could get rid of the banding.
2020-08-30 16:21:56 +02:00
Henrik Rydgård
4252036d89 Apply the scoring model when creating/updating framebuffers too.
Reuses the same mechanism.

This is the second part of the Test Drive fix.
2020-08-30 16:21:56 +02:00
Henrik Rydgård
a70ea98475 Switch framebuffer matching to a scoring model. 2020-08-30 16:21:56 +02:00
Henrik Rydgård
e9ff037e91 Extract AttachFramebufferToEntry function 2020-08-30 16:21:56 +02:00
Henrik Rydgård
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
67f5fd9344
Merge pull request #13359 from sum2012/kernel_minor
Add a check in sceKernelTerminateDeleteThread
2020-08-30 13:15:59 +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ård
b86d26da42 Remove wrong assert. Should fix #13354 2020-08-30 10:13:16 +02:00
Henrik Rydgård
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
c5738ca19e cmake: Remove outdated ARMV7 define.
Was not used anymore, but was defined incorrectly in some armv8 files.
2020-08-29 08:49:19 -07:00