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 crash in ocean-far with invalid DMA size #3746

Merged
merged 1 commit into from
Nov 12, 2024
Merged

Conversation

water111
Copy link
Collaborator

@water111 water111 commented Nov 3, 2024

DMA sizes are 16-bits, not 12-bits. This would cause rare crashes when the ocean far renderer uses more than this.

I'm not really sure what the ocean far rendering is doing at this time, but it happens as stuff is loading in.

There's a chance this fixes crashes in jak 2 as well, since we used to see errors that would be explained by this.

@water111 water111 linked an issue Nov 3, 2024 that may be closed by this pull request
@Hat-Kid Hat-Kid merged commit 7553877 into master Nov 12, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[jak3] game occasionally asserts in ocean code during level loads
2 participants