234 Commits

Author SHA1 Message Date
Henrik Rydgård
ea5d4a5671 Rotate the analog stick by 15 degrees in the GoW games too, they do the same thing. 2023-02-28 08:31:25 +01:00
Henrik Rydgård
7b06ec7469 Add more Daxter game IDs 2023-02-27 11:15:36 +01:00
Henrik Rydgård
1071d0808c Undo Daxter's rotation of the analog input. See #17015
I think this is quite a bit better actually. Appears to be exactly 15 degrees.
2023-02-27 11:10:47 +01:00
Henrik Rydgård
34e6dcb287 compat/perf: Enable BlockTransferAllowCreateFB for Naruto Shippuden: Ultimate Ninja Heroes 3
See issue #16733
2023-02-17 22:51:52 +01:00
Henrik Rydgård
62a6f351d5 Initial work on depth copies 2023-02-15 07:35:07 +01:00
Henrik Rydgård
236611ac16 Initial implementation of depth readback for Syphon Filter. Fixes the lens flares. 2023-02-04 13:54:57 +01:00
sum2012
a6b1b79b72 oop 2023-01-22 14:06:58 +08:00
sum2012
f7716d5929 Add Warriors Orochi to [ReportSmallMemStick]
in compat.ini
Close #16827
2023-01-22 11:16:44 +08:00
Henrik Rydgård
b118ffadea Add workaround for hung music notes in Rockman Dash 2
Fixes #11442. Or at least should, I haven't tested this, just followed the
discussion in the issue.

According to this issue, this is a game bug that happens on real hardware
too, due to a lousy job porting the game to the PSP, most likely, which has
different ADSR (note envelope) behavior.
2023-01-12 11:33:59 +01:00
Henrik Rydgård
b657bf36ef Eliminate readbacks in the DTM Race Driver series. 2023-01-03 00:29:09 +01:00
Henrik Rydgård
2daba57c79 Don't set "SecondaryTextureCache" compat option for Final Fantasy Tactics.
See https://github.com/hrydgard/ppsspp/issues/16638#issuecomment-1365922822
2022-12-27 16:56:42 +01:00
Henrik Rydgård
c25e563d13 Fix rendering of lines with the same x/y but different z.
Also enabled centered lines in WebFest homebrew.
2022-12-26 18:16:54 +01:00
Henrik Rydgård
0aa506cab5 Add the Toca Race Driver games to [OldAdrenoPixelDepthRoundingGL] compat workaround.
See #16638, reported by Gamemulatorer
2022-12-23 11:22:35 +01:00
Henrik Rydgård
f7e28d1ba3 compat.ini: Add MX vs ATV to "ForceLowerResolutionForEffectsOff". 2022-12-13 08:47:53 +01:00
Henrik Rydgård
7aab096791 LittleBigPlanet: Compat flag to work around smoke rendering problem
See #16030

Hopefully just for the release. There might be a tweak of our heuristics
that can fix it too, but much riskier at this point.
2022-12-07 13:29:47 +01:00
Henrik Rydgård
8e50eb31fb Add missing IDs 2022-12-04 00:06:28 +01:00
Henrik Rydgård
8567416be6 Force "Lower resolution for effects" off in Ratchet & Clank and a few other games
It breaks or just makes things look terrible in these games, so no
reason to allow it.

An alternative for this would be to remove the option entirely, and only
use it though the ForceLowerResolutionForEffectsOn flag instead.
2022-12-03 23:35:54 +01:00
Henrik Rydgård
21647cd3c1 Blind workaround for Shining Ark circle button problem
Seems the game might not handle the case of confirm button being set to
cross properly, so force it to circle if this game is running.

Fixes #15663 (hopefully..)
2022-11-27 23:32:43 +01:00
Henrik Rydgård
0b375bb357 Colin McRae: Use compat flag to avoid GPU readbacks for VRAM->VRAM copies.
Improves performance when the sun is visible, see #7810
2022-11-26 18:53:13 +01:00
Henrik Rydgård
23590a6dd0 Force LowerResolutionForEffects in Motorstorm, looks just fine
See #16429
2022-11-24 18:15:56 +01:00
Henrik Rydgård
9bc0d662c9 Add more affected games to compat setting. Reorder checks, and check vendor flag. 2022-11-24 10:09:47 +01:00
Henrik Rydgård
39f2ddd128 Add compat flag / bug check for games on old Adreno/GL affected by #16015
See #16015

Partly derived from https://github.com/hrydgard/ppsspp/compare/master...unknownbrackets:ppsspp:adreno-deadlock

But this one surgically activates it only for the known affected games, to avoid any additional
performance regressions in the release.

Entirely untested.
2022-11-24 10:05:35 +01:00
Henrik Rydgård
9482578fbb Twinbee Portable: Add config flag to avoid the system languages the game doesn't work with 2022-11-13 23:37:56 +01:00
Henrik Rydgård
200c055823 libretro fix, more games 2022-11-06 18:59:31 +01:00
Henrik Rydgård
95cb358fbf Change the "Retain changed textures" option into a compat.ini option.
This option benefits so few games and can hurt others, so that it's
better that we specifically enable it for known cases like Popolocrois.
2022-11-06 17:28:50 +01:00
Unknown W. Brackets
f24edbe8a8 Compat: Remove DisableRangeCulling.
This hack was used because culling previously incorrectly handled Z, which
was fixed in #14833.
2022-10-04 22:19:40 -07:00
Henrik Rydgård
a72a425df6 Use compat.ini to avoid readbacks in Silent Hill: Shattered Memories as well.
NOTE: I'm not 100% convinced this is ok, there might be CPU graphics manipulations here.
But in practice, in the current state where shadows don't work, it'll do.

Thanks mrfixit2001.
2022-09-30 00:03:00 +02:00
Henrik Rydgård
3adad176cc Add Silent Hill: Origins to compatibility setting BlockTransferAllowCreateFB.
Eliminates a readback with (so far) no perceptible bad effects.
2022-09-28 13:56:03 +02:00
Henrik Rydgård
1c0d66aef7 Add compatibility flag for loading pixels on framebuffer create using nearest filtering
Solves the last problem with the speedometers - so we can finally say: Fixes #8509

Render-to-CLUT for speedometers renders on top of an image that just comes from the
underlying memory, so it's been drawn to the framebuffer with DrawPixels. That adds
filtering so at higher resolutions, there's some blurring of the CLUT, causing
artifacts.  We can solve this two ways: either we force on lower-resolution-for-effects
for Ridge Racer games, or we use nearest filtering when doing DrawPixels of the
memory under a framebuffer. For best result, we do the latter.

(The speedometers look even better with nearest filtering, but that's a more
general issue of UI looking better that way).
2022-09-26 20:47:55 +02:00
Henrik Rydgård
d79828270a Add Burnout Dominator to list of games that require buffered rendering
It does run without but looks really bad, don't want reports of this.
2022-09-23 09:13:34 +02:00
Henrik Rydgård
0ab5d4be7f Use Unknown's idea from #16081 instead of the UploadDepthForCLUTTexture compat.ini flag. 2022-09-22 20:00:35 +02:00
Henrik Rydgård
4045de8d56 Consider the Adreno and Mali stencil-discard bugs the same. Use the better check from the Mali bug.
Should fix #11980
2022-09-18 10:34:43 +02:00
Henrik Rydgård
ac9677dcc0 Ah, need to enable the Mali workaround for Outrun's water, too. 2022-09-16 13:14:44 +02:00
Henrik Rydgård
36c98ab367 Address feedback, change roles of the two dynamic clut fbos to eliminate the need for state (see next commit) 2022-09-15 09:15:02 +02:00
Henrik Rydgård
9c2bfad749 Seems Need for Speed: Shift has exactly the same lens flare, enable the same compat settings. 2022-09-15 00:18:26 +02:00
Henrik Rydgård
d6d7a15d25 Get depal-from-dynamic-CLUT working 2022-09-14 22:18:35 +02:00
Henrik Rydgård
650ce22359 Force low resolution for effects in Burnout Dominator. Fixes lens flare at high res 2022-09-14 22:18:34 +02:00
Henrik Rydgård
a52e62a187 Enable depth uploads on render-to-clut-buffer. Esoteric but needed for #11100. Compat flag for now. 2022-09-14 22:18:34 +02:00
Henrik Rydgård
d551d0dd8f Enable DownloadCLUT and ShaderBitmask for Burnout Dominator 2022-09-14 22:18:34 +02:00
LunaMoo
d25602f01b Add Rewrite to DrawSyncEatCycles hack, softlocks without it 2022-09-11 21:47:07 +02:00
Henrik Rydgård
33a93e238a CLUT download: Replace the broken block transfer check with a new compat flag.
This compat flag should be temporary until we've implemented
a readback-free path for CLUTs from framebuffers, both when texturing
from static textures and other framebuffers.
2022-09-11 10:27:21 +02:00
Henrik Rydgård
f399e3c7e6 Disable BlueToAlpha mode when logic op is present. Re-enable for Outrun and DiRT. 2022-09-05 09:51:17 +02:00
Henrik Rydgård
7065a7fa8f Water effect fix #1: Force "Lower resolution for effects" on in Outrun and DiRT 2 2022-09-04 23:42:35 +02:00
Henrik Rydgård
b15c65540e Fix the new logic-op-in-shader on OpenGL and D3D11
Also disable BlueToAlpha for now for Outrun and DiRT 2, it breaks the
water effect somehow. Will come back to it later.
2022-09-04 22:53:05 +02:00
Henrik Rydgård
8194bb73a1 Turn on logic ops in shader when shader bitmasking is used. 2022-09-04 11:43:36 +02:00
Henrik Rydgård
67d6549afd Rename Slow Framebuf effects to Shader Blending (might remove). Reassign readbacks to BlockTransferGPU. 2022-08-31 14:23:33 +02:00
Henrik Rydgård
1b3b1acefa Tweak ForceMax60Fps to work for Killzone 2022-08-30 20:10:44 +02:00
Henrik Rydgård
987bfc79ef Split the framebuffer in Killzone, with a compatibility flag.
Greatly improves performance.

See issue #6207
2022-08-30 20:05:56 +02:00
Henrik Rydgård
340c75a2d9 Remove "DisableReadbacks" compat flag. MotoGP no longer needs it after BlockTransferAllowCreateFB was added. 2022-08-30 13:16:36 +02:00
Henrik Rydgård
333df62691 Remove the reinterpret compat flag, now always on
Remove ini entries
2022-08-29 17:41:29 +02:00