agbrs / agb

Library for writing Game Boy Advance games in Rust
https://agbrs.dev/
Mozilla Public License 2.0
310 stars 27 forks source link

The link register points to the next instruction, not the current one #718

Closed gwilymk closed 5 months ago

gwilymk commented 5 months ago

agb-debug was producing some bad backtraces which was being caused by the fact that we were producing slightly incorrect values which made bigger examples of backtraces completely useless.

I could fix this in agb-debug, but I feel like the correct place to do this is just fixing agb.