Fix DoConfig read

DoConfig shifts all joypad variables up by one each save. This fixes that.
This commit is contained in:
Moocow9m 2019-05-08 11:46:46 -07:00 committed by GitHub
parent 9f181c1864
commit bb829bfc82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -135,7 +135,7 @@ void read_Config(){
for(char i=0;i<8;i++){
const unsigned long button = CharsToLong(config.buttons[i]);
if(button<9 && button>0){
joyRows[i]->value(button -1);
joyRows[i]->value(button);
}
}
}