mirror of https://github.com/mgba-emu/mgba.git
GUI: Increase scrolling speed
This commit is contained in:
parent
1f2bef0ceb
commit
455be60da5
|
@ -19,7 +19,7 @@ void GUIPollInput(struct GUIParams* params, uint32_t* newInputOut, uint32_t* hel
|
||||||
} else {
|
} else {
|
||||||
params->inputHistory[i] = -1;
|
params->inputHistory[i] = -1;
|
||||||
}
|
}
|
||||||
if (!params->inputHistory[i] || (params->inputHistory[i] >= 30 && !(params->inputHistory[i] % 6))) {
|
if (!params->inputHistory[i] || (params->inputHistory[i] >= 30 && !(params->inputHistory[i] % 5))) {
|
||||||
newInput |= (1 << i);
|
newInput |= (1 << i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue