Awhile back I compiled Gambatte with an edited grayscale with Nintendo’s 3DS Virtual Console palette:
static const unsigned short p016[] = { PACK15_4(0xCECEAD, 0xA5A58C, 0x6B6B52, 0x292919), PACK15_4(0xCECEAD, 0xA5A58C, 0x6B6B52, 0x292919), PACK15_4(0xCECEAD, 0xA5A58C, 0x6B6B52, 0x292919) };
However the result was a gray-pinkish image that was nothing like the expected colors. Then I had to do some random subtractions to come up with this:
static const unsigned short p016[] = { PACK15_4(0xCED9A5, 0xA5AC84, 0x6B714A, 0x292E11), PACK15_4(0xCED9A5, 0xA5AC84, 0x6B714A, 0x292E11), PACK15_4(0xCED9A5, 0xA5AC84, 0x6B714A, 0x292E11) };
Which somewhat looks closer to the expected output but is not quite exact. Anything I can do to get true colors? The idea was to get an all-purpose palette but be nicer to look at than pure black and white and I succeeded but would still like to know a way to get the correct colors.