This commit is contained in:
bkaradzic
2013-08-06 21:04:28 -07:00
parent 3aea7306c6
commit f7fe163f2b
12 changed files with 67 additions and 70 deletions

View File

@@ -33,7 +33,7 @@ namespace entry
static void initTranslateKey(uint16_t _xk, Key::Enum _key)
{
_xk += 256;
BX_CHECK(_xk < countof(s_translateKey), "Out of bounds %d.", _xk);
BX_CHECK(_xk < BX_COUNTOF(s_translateKey), "Out of bounds %d.", _xk);
s_translateKey[_xk&0x1ff] = (uint8_t)_key;
}