wwylele / teakra

DSi/3DS DSP emulator, disassembler, assembler, and tester
MIT License
76 stars 19 forks source link

Expose AHBM things and add 16- and 32-bit memory accesses #48

Closed PoroCYon closed 3 years ago

PoroCYon commented 4 years ago

Required for melonDS, as I talked about earlier.

I've tried to make it backwards-compatible both on source and binary levels, but this has made it a bit redundant (eg. AHBMCallback vs AHBMCallbackAll etc, the former could've been replaced). If you want it to be cleaner (and break compatibility), I could do that too.

wwylele commented 4 years ago

I'd say backward-compatibility is not really important here. The only user of teakra is citra rn and it is pretty trivial to make the change accordingly.

PoroCYon commented 4 years ago

Alright, exbobolated it with some git rebase magic.

EDIT: example usage in melonDS