rust-console/gba

i think the irq and test_savegame examples are broken in 0.4

Lokathor opened this issue · 4 comments

they certainly draw stuff on the screen and do... something, but it's not immediately obvious that they're drawing useful stuff. I could have easily broken something in the update.

Lymia commented

test_savegame seems to be working fine according to the mgba debug output. However, something's clearly not right with the rendering. It's supposed to start with a yellow screen that slowly fills with green, but it's instead black filling red.

Lymia commented

You have a typo here. This should be b << 10 | g << 5 | r.

https://github.com/rust-console/gba/blob/main/src/mmio_types/color.rs#L17

well that would be one critical error.

Got this solved.