onepad: don't load joyid_map from the ini

Old option from the older GUI can cause issue.

Close #1139
This commit is contained in:
Gregory Hainaut 2017-01-07 16:38:13 +01:00
parent 5c6d10da96
commit 3fab287e8d

View File

@ -180,7 +180,9 @@ void LoadConfig()
conf->set_sensibility(value);
if (fscanf(f, "joy_pad_map = %u\n", &value) == 0)
goto error;
conf->joyid_map = value;
// Value is now hardcoded in controller.h avoid to reload a bad
// value from an old ini file.
//conf->joyid_map = value;
if (fscanf(f, "ff_intensity = %u\n", &value) == 0)
goto error;
conf->set_ff_intensity(value);