RIP-Comm / clementine

Gameboy Advance emulator.
MIT License
49 stars 13 forks source link

Refactor shift operand #80

Closed AlessioC31 closed 2 years ago

AlessioC31 commented 2 years ago

I've refactored a bit and completed the shift op2 logic.

I know that 09a20b5b9f95fbc6f301b13b321c79b194b1f9f7 is big but it doesn't make sense to me to split it, since it's all about the same task, but let me know :)

I think the barrel shifter logic is complex enough to be worth quite some tests. I didn't have time yet to add them but they're for sure needed.