GameCube controller calibration fix

This commit is contained in:
Jack Andersen
2017-12-19 20:04:11 -10:00
parent e57f6fb2d5
commit 02dc5a2a97
3 changed files with 33 additions and 28 deletions

View File

@@ -128,7 +128,7 @@ public:
}
void* map(size_t sz)
{
if (sz < m_cpuSz)
if (sz > m_cpuSz)
return nullptr;
return m_cpuBuf.get();
}