deltabeard / Peanut-GB

A Game Boy (DMG) emulator single header library written in C99. Performance is prioritised over accuracy.
https://projects.deltabeard.com/peanutgb/
283 stars 40 forks source link

sdl2: find out why white is not white #27

Closed deltabeard closed 5 years ago

deltabeard commented 5 years ago

Double check that the palettes used in Peanut-SDL are correct, since the colour for white is not the expected #FFFFFF.

deltabeard commented 5 years ago

This is only seen in the output BMP files because white is stored as "11111000 11111000 11111000" and not all ones.

deltabeard commented 5 years ago

28d8854af500fe4dc8802f64d993b8d8c6f1f272