Fix DoConfig read
DoConfig shifts all joypad variables up by one each save. This fixes that.
This commit is contained in:
parent
9f181c1864
commit
bb829bfc82
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ void read_Config(){
|
||||||
for(char i=0;i<8;i++){
|
for(char i=0;i<8;i++){
|
||||||
const unsigned long button = CharsToLong(config.buttons[i]);
|
const unsigned long button = CharsToLong(config.buttons[i]);
|
||||||
if(button<9 && button>0){
|
if(button<9 && button>0){
|
||||||
joyRows[i]->value(button -1);
|
joyRows[i]->value(button);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue