Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GS/HW: Don't kill old targets unless completely dirty or targets overlap #11385

Merged
merged 2 commits into from
Jun 15, 2024

Conversation

refractionpcsx2
Copy link
Member

@refractionpcsx2 refractionpcsx2 commented Jun 12, 2024

Description of Changes

Stops killing targets that are just a little bit dirty.

Rationale behind Changes

No real need to destroy the whole target because it's slightly dirty, doesn't make a lot of sense if there isn't another target over it.

Suggested Testing Steps

Try Shadow hearts pause menu (already checked with GS Dump)

Fixes Shadow Hearts pause screens.

Before:
image

PR:
image

(the bit at the bottom is a TODO, pretend that's not there)
Edit: Decided to fix this other bug, so now it looks fine.

image

Copy link
Contributor

@Mrlinkwii Mrlinkwii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@Technostrophe
Copy link

Shadow Hearts_SLUS-20347_20240613180110

Final Fantasy X_SLUS-20312_20240613181355

Final Fantasy X_SLUS-20312_20240613181148

Fixes Shadow Hearts, doesn't break FFX pause menu or battle transition.

@refractionpcsx2
Copy link
Member Author

Thanks for testing :)

@refractionpcsx2 refractionpcsx2 merged commit 9c57ac3 into master Jun 15, 2024
22 checks passed
@refractionpcsx2 refractionpcsx2 deleted the gs_killtarget branch June 15, 2024 07:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants