This is what causing all the trouble, there was a folder name 'source' at mame working directory that had a 'cps2.ini' file inside it with this settings:
Code:
filter 1 snapshot_directory snap/cps2 samplerate 32000
I don't remember why is there, maybe I was running some tests. If you set 'mame.ini' like this:
Code:
gamma 0.9
And in ini\source\cps2.ini like this:
Code:
gamma 0.1
Mame ignores both gamma settings and use default '1.0', matter of fact, mame ignores whatever settings you use in there, that is why mame was ignoring my joystick settings with 'ctrlr'.
Why mame reads ini files outside the ini directory if there is a inipath setting to point out the path to ini files? Maybe this make sense in Windows but in Linux, our 'mame.ini' and main ini files goes at '$HOME/.mame', maybe removing '.' from the inipath could help I guess.
Anyway, this still don't explain why mame ignored both gamma settings (or my ctrlr setting) set on both 'mame.ini' and 'ini\source\cps2.ini'.
|