Skip to content

sfc: CX4 accuracy improvements - #2655

Merged
LukeUsher merged 1 commit into
ares-emulator:masterfrom
AkiteruSDA:cx4-fixes
Oct 4, 2026
Merged

LukeUsher merged 1 commit into
ares-emulator:masterfrom
AkiteruSDA:cx4-fixes

Conversation

@AkiteruSDA

Copy link
Copy Markdown
Contributor

Ported directly from bsnes PRs bsnes-emu/bsnes#377 and bsnes-emu/bsnes#401.

  • When triggering a cache preload by writing to $7f48, update the pb register with the prepared program page
  • When preloading a page, ignore all runtime checks and reload the page immediately
  • Step 1+WS on both reads for cache, not just one
  • Remove extra cycle on bus reads/writes
  • Remove extra cycle on DMA to internal RAM (fixes excessive slowdown in Morph Moth fight)

Ported directly from bsnes PRs 377 and 401.
- When triggering a cache preload by writing to $7f48, update the pb register with the prepared program page
- When preloading a page, ignore all runtime checks and reload the page immediately
- Step 1+WS on both reads for cache, not just one
- Remove extra cycle on bus reads/writes
- Remove extra cycle on DMA to internal RAM (fixes excessive slowdown in Morph Moth fight)
@LukeUsher

Copy link
Copy Markdown
Member

Nice job, thanks!

@LukeUsher
LukeUsher merged commit 2976a1a into ares-emulator:master Oct 4, 2026
@Max833

Max833 commented Oct 5, 2026 •

Copy link
Copy Markdown

Thank you very much, AkiteruSDA! =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants