Baekalfen / PyBoy

Game Boy emulator written in Python
Other
4.57k stars 472 forks source link

Update Sprite palette number to support CGB #295

Closed NicoleFaye closed 9 months ago

NicoleFaye commented 9 months ago

I noticed that the palette in the sprite object only supported DMG mode as bit 4 is unused in CGB mode and instead uses bits 2-0 for the palette options

https://gbdev.io/pandocs/OAM