mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Warning fix
This commit is contained in:
parent
58ecab849e
commit
c6ad871865
1 changed files with 2 additions and 2 deletions
|
@ -187,7 +187,7 @@ void ComboKey::Touch(const TouchInput &input) {
|
|||
if (g_Config.bHapticFeedback)
|
||||
Vibrate(HAPTIC_VIRTUAL_KEY);
|
||||
for (int i = 0; i < ARRAY_SIZE(comboKeyList); i++) {
|
||||
if (pspButtonBit_ & (1UL << i)) {
|
||||
if (pspButtonBit_ & (1ULL << i)) {
|
||||
controllMapper_->pspKey(comboKeyList[i].c, (on_ && toggle_) ? KEY_UP : KEY_DOWN);
|
||||
}
|
||||
}
|
||||
|
@ -195,7 +195,7 @@ void ComboKey::Touch(const TouchInput &input) {
|
|||
on_ = !on_;
|
||||
} else if (!toggle_ && lastDown && !down) {
|
||||
for (int i = 0; i < ARRAY_SIZE(comboKeyList); i++) {
|
||||
if (pspButtonBit_ & (1UL << i)) {
|
||||
if (pspButtonBit_ & (1ULL << i)) {
|
||||
controllMapper_->pspKey(comboKeyList[i].c, KEY_UP);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue