Skip to content

nv2a: Fix handling of color/zeta offset with RAM addresses #2158

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

abaire
Copy link
Contributor

@abaire abaire commented May 2, 2025

Fixes #326

ESPN NFL Football sets the color surface offset using a RAM address (0x83ba0000) rather than the equivalent VRAM range (0x03ba0000). The game modifies the 0x880 register to disable the associated limit exception similar to what was seen previously in Spongebob.

While we could implement the limit exceptions and handle the 0x880 flag to emulate hardware, it is simpler to allow RAM addresses by masking off the high nibble.

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.

[Assertion] surface->offset <= dma.limit
1 participant