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

Major League Baseball 2K12 blue color #7682

Closed
daniel229 opened this issue Apr 13, 2015 · 2 comments · Fixed by #7683
Closed

Major League Baseball 2K12 blue color #7682

daniel229 opened this issue Apr 13, 2015 · 2 comments · Fixed by #7683

Comments

@daniel229
Copy link
Collaborator

Looks similar to #4109

01

psp
201504130000_001

Gedebugger
03

more tabs
https://gist.github.com/daniel229/f3cd18200cb56a5c4f77

@unknownbrackets
Copy link
Collaborator

I think the CLUT looks suspect:

CLUT 04187ca1, w=0

Maybe it forces alignment? Or maybe it's a render-to-clut? Alignment seems likely to me.

Does anything change if you modify this line:

u32 getClutAddress() const { return (clutaddr & 0x00FFFFFF) | ((clutaddrupper << 8) & 0x0F000000); }

To, let's say:

u32 getClutAddress() const { return (clutaddr & 0x00FFFFFC) | ((clutaddrupper << 8) & 0x0F000000); }

Probably needs hardware testing. 0x00FFFFF0 would not even shock me, but I think I've seen addresses with 8...

-[Unknown]

@daniel229
Copy link
Collaborator Author

Looks good with that change
01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants