Skip to content

fix: remove redundant CHR bank loads in CNROM (Mapper 3)#649

Merged
bfirsh merged 1 commit intomainfrom
fix/cnrom-duplicate-chr-load
Mar 7, 2026
Merged

fix: remove redundant CHR bank loads in CNROM (Mapper 3)#649
bfirsh merged 1 commit intomainfrom
fix/cnrom-duplicate-chr-load

Conversation

@bfirsh
Copy link
Owner

@bfirsh bfirsh commented Mar 7, 2026

Summary

  • Removes redundant loadVromBank calls in Mapper 3 (CNROM) that were immediately overwritten by load8kVromBank, which internally calls loadVromBank for both 4KB halves

Partial fix for #597 (issue 2).

Test plan

  • npm test passes
  • Verify CNROM games (Solomon's Key, Arkanoid, Bump 'n' Jump) render CHR correctly

🤖 Generated with Claude Code

The two loadVromBank calls were immediately overwritten by load8kVromBank,
which does the same work internally. Fixes #597 (issue 2).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bfirsh bfirsh merged commit cafbe78 into main Mar 7, 2026
7 checks passed
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.

1 participant