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: Compensate for misaligned partial 24bit local->host transfers #8445

Merged
merged 1 commit into from Mar 20, 2023

Conversation

refractionpcsx2
Copy link
Member

@refractionpcsx2 refractionpcsx2 commented Mar 19, 2023

Description of Changes

Compensates for misaligned transfers which generally happen with 24bit transfers when the transfer is split.

Rationale behind Changes

In Keroro Gunso and We Love Katamari it downloads the 24 bit framebuffer in 2 parts, but it ends the first transfer 1 channel in to the 3 channel pixel, meaning it's offset strangely when it does the second part of the transfer. So to compensate for this we do the whole pixel it ends on, then do an offset on the second part of the transfer, this stops the colours being incorrect as a bar across the bottom.

Suggested Testing Steps

Test Keroro Gunso - Mero Mero Battle Royale pause screen and We Love Katamari Damacy transition in to the collection.

Keroro Gunso: (There is another issue I need to solve with HW mode where the download fails first time, need to investigate)
Master:
image

PR:
image

We Love Katamari:
Master:
image

PR:
image

Fixes #8146
Fixes #8441

@github-actions github-actions bot added the GS label Mar 19, 2023
@kamfretoz
Copy link
Contributor

kamfretoz commented Mar 20, 2023

Tested Keroro Gunso against this PR, and it seems that its still somewhat broken :(

Screenshot_20230320_091640

@refractionpcsx2
Copy link
Member Author

As I said in the OP "There is another issue with hardware mode", however that wasn't it... that looks like the second half of the transfer just didn't happen, wtf...

@SeruranBlue
Copy link
Contributor

I tested We Love Katamari and it is fixed.

@refractionpcsx2
Copy link
Member Author

Thanks for testing!

@refractionpcsx2 refractionpcsx2 merged commit 3a042d8 into master Mar 20, 2023
@refractionpcsx2 refractionpcsx2 deleted the gs_offsetsplit branch March 20, 2023 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants