mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
PAD: Fix Wsign-compare warning.
This commit is contained in:
1 parent
191c7fdf30
commit
23338319a0
1 file changed
+1
-1
@@ -133,7 +133,7 @@ void KeyStatus::Set(u32 pad, u32 index, float value)
|
||||
if (index == PAD_PRESSURE)
|
||||
{
|
||||
const float adjust_pmod = ((m_button[pad] & (1u << PAD_PRESSURE)) == 0) ? m_pressure_modifier[pad] : (1.0f / m_pressure_modifier[pad]);
|
||||
for (int i = 0; i < MAX_KEYS; i++)
|
||||
for (u32 i = 0; i < MAX_KEYS; i++)
|
||||
{
|
||||
if (i == index || IsAnalogKey(i) || IsTriggerKey(i))
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user