Commit Graph
377 Commits
Author SHA1 Message Date
Henrik RydgårdandClaude Opus 5.5 feaa41fadb Always emulate partial color write masks in the shader, drop ShaderColorBitmask
Partial red, green and blue write masks now always go through the shader with
a framebuffer read. Across the frame dump set this only improves games outside
the old list (Split/Second, Ultimate Ghosts 'n Goblins, older DiRT 2 and OutRun
dumps without a game ID). Partial alpha masks keep the old heuristic: alpha is
the stencil, with its own write mask, and taking the shader path for them made
Pro Yakyu Spirits and Gangs of London worse.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 11:18:05 +02:00
Henrik Rydgård 8e596032f1 Merge pull request #22446 from hrydgard/misc-rendering-fixes
Misc rendering fixes
2026-10-08 11:16:14 +02:00
Henrik RydgårdandClaude Opus 5.5 2f9f9bf77e Compat: ShaderColorBitmask for Ultimate Ghosts 'n Goblins
Its glow sets the 5551 alpha through a 565 draw with only the top blue bit
unmasked. Without the flag the whole blue channel was written, tinting the
glow; 25276 -> 4274 pixels off the PSP in issue #20728's dump.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-08 10:46:54 +02:00
sum2012 bef8e2d9ad Fix Unbound saga saving issue
Find bug in #13111
2026-10-08 06:14:08 +08:00
sum2012 27400295fe Fix Hot Pixel titlescreen problem For AMD by Zcode
Fix Hot Pixel titlescreen problem For AMD (#15826)

AMD required PixelDepthRounding for this game
2026-10-07 19:03:45 +08:00
sum2012 6ccab3d1d0 Add Worms to compat by Gemini
Fix #18713.
Fix assert
2026-10-01 11:28:57 +08:00
Henrik RydgårdandClaude Opus 5.5 8f70003cce Remove the PaceVideocodecDecode workaround for Ys I & II
The blit cost model now paces its movies at 30 fps without it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-25 16:44:28 -06:00
sum2012 a8b85eec8b Add ForceEnableGPUReadback compat
To solve gpu readback issue
2026-09-23 22:06:28 +08:00
sum2012 f5b6b45b5b Remove IgnoreEnqueue hack 2026-09-22 20:19:57 +08:00
sum2012 14fd9d1752 Remove Fontltn12Hack 2026-09-22 20:10:33 +08:00
Henrik RydgårdandClaude Opus 5 282647803c Add PaceVideocodecDecode compat.ini option
There are a few games that seem to rely on performance problems or
timing quirks to hold the correct pace when playing sceMpeg - have not
been able to nail down any other timing mechanism.

This adds a timing enforcement function.

Coded by Claude.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-21 09:00:48 -06:00
sum2012 6116e98e44 Add other version of mga2 hack
#10906 , Sorry I forget to add before
2026-09-20 03:38:39 +08:00
Henrik Rydgård 8f52820b0d Add more sprite texturing fixes (Another Road, Naruto 3) 2026-07-23 11:17:14 +02:00
Henrik Rydgård 4381a8d59b Hot Pixel: Work around missing text on main menu with vertex depth rounding.
Fixes #15826
2026-07-19 02:06:09 +02:00
Henrik Rydgård 219c97c531 Apply sprite fix in Naturo Shippuden: UNH 3 2026-07-14 15:32:25 +02:00
Henrik Rydgård 9339d455ef Return of "Disable range culling" but now only as a compat.ini setting to enhance games 2026-06-27 13:02:47 +02:00
Henrik Rydgård faedbd2061 Apply sprite border fix to Tokiden.
Fixes #19422
2026-06-15 00:39:59 +02:00
Henrik Rydgård 308c850217 Add homebrew Giana's Return to compat.ini (force software renderer)
Fixes #11940
2026-06-15 00:28:58 +02:00
Henrik Rydgård 471f50c7be More sprite detection
Fixes #15757

Fixes #15755
2026-06-15 00:17:41 +02:00
Henrik Rydgård 1cf7e6a344 Use centered line drawing in MPO.
Fixes #20142
2026-06-14 23:48:43 +02:00
Henrik Rydgård ae2f710f1b Also apply the Tales of Phantasia X workaround to Tales of Phantasia FVE 2026-06-14 18:41:25 +02:00
Henrik Rydgård ea8a648737 Refactor UI shader presets, prepare for some updates to the ImGe debugger 2026-06-14 11:08:56 +02:00
Henrik Rydgård 0c020a8c04 Apply the sprite border fix for Ridge Racer, improving the looks of the menus. 2026-06-14 01:19:59 +02:00
Henrik Rydgård 64c7da1253 Switch PoPoLoCrois to use in-shader palette (CLUT) lookups 2026-06-13 14:26:37 +02:00
Henrik Rydgård d6e0dd1478 Always enable the secondary texture cache 2026-06-13 13:34:41 +02:00
Henrik Rydgård 40a345bff8 Fix a filtering issue, enable this for Fushigi no Dungeon 4. 2026-06-12 23:52:50 +02:00
Henrik Rydgård f3e590b059 Experiment with a compat flag that forces shader depal 2026-06-12 12:19:17 +02:00
Henrik Rydgård c9623374b1 Fix some issues with sprite border fix for RECT primitives 2026-06-10 15:29:18 +02:00
Henrik Rydgård d5e426d11e Enable secondary texture cache for Gran Turismo (temporary, it will soon be enabled universally) 2026-06-09 23:49:54 +02:00
Henrik Rydgård 644f1b6caf Fix SpriteBorderFix problem where it was affecting the main render 2026-06-07 19:38:35 +02:00
Henrik Rydgård 5bfc87ffd5 Improve the sprite border fix to work with RECTs, add some conditions 2026-06-06 12:31:41 +02:00
Henrik Rydgård d59cdcad61 GTA sprite fix: Detect sprites, clip them slightly to avoid filtering artifacts 2026-06-05 11:48:46 +02:00
Henrik Rydgård 1867f0775e Avoid soft-transform-and-clip if the near plane matches the final clip plane, and a new compat flag isn't set
Fixes #21776

Since only two games are known to need the cull-after-clip behavior
(previously known as inversion), we flag those and avoid unnecessary
soft clipping.

I had hoped to find a dynamic check that would work, but haven't managed
to figure out a good one yet.

This will improve performance a little bit in some other games since we
can avoid clipping in software at all in many cases.
2026-06-04 14:49:22 +02:00
Henrik Rydgård 7e265fd1c4 Remove some obsolete compat.ini settings 2026-06-04 12:45:17 +02:00
Nab 378639b640 Add new GTA romhack to compat.ini 2026-06-03 10:44:53 +00:00
Henrik Rydgård f8b153ba2b Fix some issues with depth rounding, and depth clamp in D3D11 2026-05-30 19:07:59 +02:00
Henrik Rydgård 0b21731e7b Remove obsolete compat.ini flag DisableAccurateDepth 2026-05-30 19:07:59 +02:00
Henrik Rydgård dbef961784 Jetpack Joyride: Add to compat.ini [ReportSmallMemStick]
Hopefully fixes #19305
2026-05-01 15:21:55 +02:00
Henrik Rydgård 5311be2960 Oops, forgot the compat.ini change for Gripshift 2026-03-08 00:17:07 +01:00
Henrik Rydgård 930a95f8f7 compat.ini: Add a few more game IDs for Silent Hill: Shattered Memories 2026-02-26 17:17:42 +01:00
Henrik Rydgård bae1a7c7f9 Add "FastEmulatedGPU" compat flag. For games like Outrun that have intermittent slowdowns on hardware, it's unnecessary under emulation. 2026-02-26 10:44:16 +01:00
Henrik Rydgård 3dc7aa4a65 Add workaround for the Silent Hill: Shattered Memories. Thanks fcrwr!
Fixes #13781
2026-02-23 15:19:03 +01:00
Henrik Rydgård 202259eb09 Add a quick workaround for Mahjongg Artifacts framebuffer expiration.
Fixes #15828, well at least except for savestate support.
2026-02-22 23:42:13 +01:00
Henrik Rydgård 475390a968 Add workaround for Tales of Phantasia X.
Fixes #21162
2026-01-29 23:16:51 +01:00
Henrik Rydgård 2c2300c6b7 Add a few more Dangan Ronpa 2 game IDs to compat.ini for the framebuffer download hack 2026-01-29 17:41:57 +01:00
Henrik Rydgård 8f76b191cd More improvements to ISO detection 2026-01-28 23:48:49 +01:00
Henrik Rydgård 60a065b242 Make the Brave Story hack safer, hide it behind a compat flag. 2026-01-23 23:39:11 +01:00
Henrik Rydgård 34473fc621 Add a compat flag to map some extra memory at address 0.
Can be used to work around certain types of crashes without having to
disable fast memory.
2026-01-23 15:14:15 +01:00
Henrik Rydgård a9ef2baa5e Enable the UMD slow read speed compat flag for Twisted Metal
Reportedly fixes #10933
2026-01-07 19:51:16 +01:00
Henrik Rydgård c4d0d365d3 Enable DeswizzleDepth workaround for Secret Agent Clank.
See #21079
2025-12-30 20:31:06 +01:00