RIP-Comm / clementine

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

WIP: GBA LOGO 🎆 🥳 🔥 🎉 #213

Closed AlessioC31 closed 1 year ago

AlessioC31 commented 1 year ago

To be merged after #212 .

Well... we still have a lot to do but this PR starts implementing Sprite rendering.

For now we're assuming we only have sprites in BG mode 2 (the one used by the gba logo). We miss effects, object window concept, and so on.

https://github.com/RIP-Comm/clementine/assets/5256712/cbb9c7c4-7d34-445a-b6a4-a0681d087b28

We were calculating carry wrong for sub operations. This was resulting in some comparisons failing (and then we were taking some branches that we did not have to take and vice-versa).