Some typo/warning fixes

This commit is contained in:
Megamouse 2021-11-15 18:26:31 +01:00
parent 6283600b84
commit 0d7b7585a8
5 changed files with 11 additions and 10 deletions

View file

@ -185,7 +185,7 @@ void pad_thread::Init()
void pad_thread::SetRumble(const u32 pad, u8 largeMotor, bool smallMotor)
{
if (pad > m_pads.size())
if (pad >= m_pads.size())
return;
if (m_pads[pad]->m_vibrateMotors.size() >= 2)