Clean SVN build on raspberry pi 3 using sdl is causing mapper colors to be distorted. See attachment.
Changing colors to different numbers like follows in sdl_mapper.cpp file even if not defined changes colors.
Black 0
Grey 73
White 255
Red 224
Green 24
Blue 15
The attached screenshot does not appear to be current SVN, judging by the lowercase characters on the letter keys.
Your point about changing colors seems incongruous with official source, as the color numbers should be row indexes in an array of RGB values.
Yes I didnt bother taking another photo as the effect was the same. I have attached a new photo taken after a clean SVN build from raspberry pi 3 (the blue one). On clicking on one of the buttons (Clicked on Q).
Modifying the method responsible for drawing text causes rainbow colors. Color > 6 (SDL_Color map_pal[6]) are also accessible.
Last edit: Hex 2017-04-21
Make sure you're using SDL 1.2.x (1.2.15 recommended), as other versions may indeed require changes to the DOSBox source. If you are using 1.2.x then the color issue would appear to be with SDL on your platform, as it is not known to affect other platforms, so perhaps bring it to the attention of the SDL developers. In either case it is not a bug in DOSBox.