Fixing the Emulator Bug in Shadow Hearts Covenant

Shadow Hearts Covenant is hard to come by. As such fans uses emulators to relive playing the game or seeing what people are talking about. The thing about this is the emulator does have an issue with a visual bug that loses the background when the judgement ring comes up. This fix should help thanks to Fothsid on github.

Description of Changes

Invalidates local memory for render targets whose memory regions overlap with the requested one, instead of just checking for the same TBP.

Rationale behind Changes

Games like Shadow Hearts Covenant offset their GS downloads by specifying source Y coordinate that is beyond the texture size. Without this change, the game experiences semi-random rendering issues when displaying the Judgement ring in battle, as detailed in #3437. This PR essentially fixes that issue.

Suggested Testing Steps

While this PR fixes #3437, it could easily introduce new issues to other games, which is something that needs to be tested. For Shadow Hearts Covenant, enter a battle and try to attack/use skill or item, the game shouldn’t display any black screen or wrong shots when the Judgement ring appears.

Reddit:https://www.reddit.com/r/ShadowHearts/comments/yjpvpf/the_longstanding_visual_bug_when_emulating_shadow/

Link: https://github.com/PCSX2/pcsx2/issues/3437#issuecomment-1298421307

If you like what you see please hit the like and follow buttons. Please check out the newest page of my comic as well as past pages and chapters here https://jcrcomicarts.wordpress.com/2022/10/22/unbelievable-ch-9-red-skies-rising-pg3/. This Jcrcomicarts saying thank you for reading.

About JCR Comic Arts

I am a gamer into fighting games perferablly such as King Of Fighters and Street Fighters. Also DMC and Ninja Gaiden as well. In recent years I have become a fan of two shooters. Fear and Resistance."
This entry was posted in action, adventure, jrpg and tagged , , , , , , , , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Leave a comment