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

Fix clut load alignment and access outside valid memory #7683

Merged
merged 3 commits into from
Apr 13, 2015

Conversation

unknownbrackets
Copy link
Collaborator

See hrydgard/pspautotests#171 for tests showing this behavior.

  1. Correctly fills invalid portions with 0x00, not 0xFF.
  2. Ensures CLUT address is aligned to a 128-bit boundary.
  3. Doesn't crash when accessing outside valid memory.

Expected to fix #7682 and fix #6113.

-[Unknown]

And only for the parts outside memory.
Hardware seems to ignore the lower bits when loading.
@daniel229
Copy link
Collaborator

Comfirm it fixes #7682 and #6113.

hrydgard added a commit that referenced this pull request Apr 13, 2015
Fix clut load alignment and access outside valid memory
@hrydgard hrydgard merged commit 1b0a9a4 into hrydgard:master Apr 13, 2015
@unknownbrackets unknownbrackets deleted the clut-align branch April 13, 2015 07:37
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 this pull request may close these issues.

Major League Baseball 2K12 blue color Riviera : Yakusoku no Chi -Special Edition crashes on PSP 1000 model
3 participants