Commit graph

27889 commits

Author SHA1 Message Date
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
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
Unknown W. Brackets
2be8f86286 GPU: Avoid compile error if ARM64=1 specified.
If it's specified, but incorrect, we would compile incorrectly.  We're
moving away from it anyway.
2020-08-29 08:18:54 -07:00
Unknown W. Brackets
7426e2a8f8 TexCache: Try to avoid wrong texcache usage.
Now that the speed is closer, disable on non-ARMV7 so we can avoid wrong
compilations more often.
2020-08-29 08:16:23 -07:00
Unknown W. Brackets
364aabe84f TexCache: Improve quicktexhash by ~1-4% on NEON.
Improvement is greater on 64-bit (4.3%) than 32-bit (1.6%.)
2020-08-29 08:03:58 -07:00
Unknown W. Brackets
5945642982
Merge pull request #13351 from hrydgard/virtual-framebuffer-format
Virtual framebuffer copies: Make a more informed guess on the pixel format of the copy.
2020-08-29 10:06:01 -04:00
Henrik Rydgård
81159770d6
Merge pull request #13350 from shenweip/memInit
Actually clear memory when initializating.
2020-08-29 15:57:05 +02:00
shenweip
0f45e17f09 Only clear when initializating kernelMemory and userMemory. 2020-08-29 19:51:11 +08:00
Henrik Rydgård
8618cc7ab5 Virtual framebuffer copies: Make a more informed guess on appropriate pixel format.
This is the first part of the Test Drive fix, which I want in
separately.
2020-08-29 12:42:36 +02:00
shenweip
df82673116 Actually clear memory when initializating. 2020-08-29 15:26:44 +08:00
Henrik Rydgård
cb3ed8f4a1
Merge pull request #13343 from unknownbrackets/xxhash
Switch to XXH3
2020-08-28 12:20:26 +02:00
Henrik Rydgård
41fe6f9e12 Delete an unused buffer, saving 0.5MB of RAM. 2020-08-28 10:38:00 +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
7f812a5d9a GPU: Hash CLUT using XXH3 with replacements off.
It's faster, but if texture replacements are enabled, we want the hash to
stay the same.
2020-08-27 20:46:39 -07:00
Unknown W. Brackets
53d9c10b22 irjit: Switch to XXH3. 2020-08-27 20:40:55 -07:00
Unknown W. Brackets
15c25be42b GPU: Switch vertex/lookup hashes to XXH3.
This is faster pretty much everywhere.
2020-08-27 20:37:49 -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
184d4a1fc0 Vulkan: Type comparison warning fix. 2020-08-27 20:01:59 -07:00
Unknown W. Brackets
3b0f7e109d unittest: Fix build on Android. 2020-08-27 20:01:37 -07:00
Unknown W. Brackets
9b27cbd450 Common: Update to latest xxhash. 2020-08-27 20:01:04 -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
8f4fb89d17
Merge pull request #13342 from hrydgard/vulkan-barrier-fix
Vulkan: A couple more barrier/layout-related fixes.
2020-08-28 00:27:49 +02:00
Henrik Rydgård
924329321c Throw in a minor simplification in depal. 2020-08-27 23:02:17 +02:00
Henrik Rydgård
0b8e377872 Address feedback from #13341. 2020-08-27 22:59:27 +02:00