binji / binjgb

Gameboy emulator implemented in C, that also runs in the browser
https://binji.github.io/binjgb/
MIT License
534 stars 61 forks source link

Incorrect CGB sprite priority #13

Closed ISSOtm closed 6 years ago

ISSOtm commented 6 years ago

In CGB mode, sprite priority is determined by OAM address (sprite #00 being topmost, #3F being bottommost). binjgb currently uses the DMG behavior of priority being assigned by X position.