diff options
| author | JosJuice <josjuice@gmail.com> | 2016-11-12 12:34:47 +0100 |
|---|---|---|
| committer | JosJuice <josjuice@gmail.com> | 2016-11-12 19:09:03 +0100 |
| commit | 656999d4c23fa80e8172edd86925ffc1cffb712e (patch) | |
| tree | eba8ecf5fd39784ecbbbf7b7d0cee57265a1dce7 /Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp | |
| parent | 3b78fec24ebe4143353ea7180048c271d787df93 (diff) | |
Correct bounds checking for /dev/sdio/slot0
The bounds checks in IOCtl were using 0x200 as the size of
m_Registers, which is more than the actual size, 0x200 / 4.
This commit turns m_Registers into an std::array to allow
for a correct and obvious way of getting its size.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.cpp')
0 files changed, 0 insertions, 0 deletions
