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.
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.