Keep in mind that MAME outputs different pixel formats per game. It can be 15-bit 0-5-5-5, 16-bit 5-6-5, or 24-bit 8-8-8. I gather from your screenshot that you're trying to consume MAME's 5-5-5 as 5-6-5. And if none of this makes sense to you, back away from what you're doing now.
|