There's a code in desmume to create a PNG file.
http://higgs.rghost.ru/6QQf4BfLt/image.png
The way variables are called, it's trying to convince me it writes pixels to file in order
BGR, while front buffer sent to monitor (32bpp RGB8888, right MemWatch) kind of matches buffer that contains PNG pixels (24bpp RGB888, LeftMemWatch), and both of them match this picture
http://higgs.rghost.ru/82NMKWSDh/image.png
when read as
RGB.
The code calls it so like red and green have some values, and blue doesn't, even though it's a blue sky. Am I missing something, or the color order is messed up as far as variables go?
EDIT: there's also internal screen (16bpp RGB555) for that frame, where it reads bits from and converts them for PNG, which contains something that actually
does look like
BGR.
http://tau.rghost.ru/7x6dkmZWf/image.png