Fix Xbox controller crash on Windows. #16279
authorErik Kessler <erik65536@users.noreply.github.com>
Tue, 26 Jan 2016 12:30:04 +0000 (06:30 -0600)
committerGarrett Brown <themagnificentmrb@gmail.com>
Sat, 6 Feb 2016 20:54:57 +0000 (12:54 -0800)
Fast forwarding using the right trigger on an Xbox controller on Windows causes Kodi to freeze. An incorrect sign causes undefined behavior that eventually leads to an infinite loop. Fixed by making sure iPower is positive. Fixes http://trac.kodi.tv/ticket/16279


No differences found