Some Mame games like contra, scontra, old irem such as ninja spirit, were made with strange gamma looking alright on old monitors but quite bad on modern LCD.
With Mame HLSL I could do a special ini to correct that.
Like for contra: offset -0.4,-0.4,-0.4 scale 1.4,1.4,1.4 power 0.8,0.8,0.8
Can’t really do the same with retroarch. I tried different shaders like bsnes-gamma-ramp.cg and image-adjustment.cg but they make the image dull or burn the high range if you push luminance a bit. As discussed in this thread it seems we need to apply a S curve.
Do we have a shader to do that?