mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 16:25:58 +03:00
[PR #3057] [MERGED] buffer_cache: Better image search for buffer validation #3183
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3183
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/3057
Author: @raphaelthegreat
Created: 6/8/2025
Status: ✅ Merged
Merged: 6/8/2025
Merged by: @georgemoralis
Base:
main← Head:img-overlap📝 Commits (1)
727b8c6buffer_cache: Better image search for buffer validation📊 Changes
1 file changed (+36 additions, -15 deletions)
View changed files
📝
src/video_core/buffer_cache/buffer_cache.cpp(+36 -15)📄 Description
When multiple overlapping images exist in same address and with different sizes, the old logic would pick the first one, which can end up being mismatched and causing a garbage copy. To address this iterate all the images and find the one that best matches the size.
This fixes a broken depth copy in Driveclub (CUSA00093) that made the screen garbage looking and might fix some depth effects
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.