mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Update comment in PSPDialog::IsButtonHeld.
This commit is contained in:
parent
309f1aa082
commit
9ea907d7b7
1 changed files with 2 additions and 2 deletions
|
@ -139,8 +139,8 @@ bool PSPDialog::IsButtonHeld(int checkButton, int &framesHeld, int framesHeldThr
|
|||
return false;
|
||||
}
|
||||
|
||||
// It's considered held for dialog purposes after 30 frames (~0.5 seconds).
|
||||
// Seems to give the best responsiveness. Maybe this should be configurable?
|
||||
// It's considered held for dialog purposes after 30 frames (~0.5 seconds),
|
||||
// and set to repeat every 10 frames, by default.
|
||||
if (framesHeld >= framesHeldThreshold && ((framesHeld % framesHeldRepeatRate) == 0))
|
||||
return true;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue