summaryrefslogtreecommitdiffstats
path: root/src/core/Pad.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-06-28 00:57:01 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-06-28 00:57:01 +0200
commitb8f633de243914aa548381d024e77ad736b91d0d (patch)
tree3c81e57b024df92c35f32d6a447f412d781e0661 /src/core/Pad.cpp
parentfixfixfix (diff)
downloadre3-b8f633de243914aa548381d024e77ad736b91d0d.tar
re3-b8f633de243914aa548381d024e77ad736b91d0d.tar.gz
re3-b8f633de243914aa548381d024e77ad736b91d0d.tar.bz2
re3-b8f633de243914aa548381d024e77ad736b91d0d.tar.lz
re3-b8f633de243914aa548381d024e77ad736b91d0d.tar.xz
re3-b8f633de243914aa548381d024e77ad736b91d0d.tar.zst
re3-b8f633de243914aa548381d024e77ad736b91d0d.zip
Diffstat (limited to '')
-rw-r--r--src/core/Pad.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp
index 31289c73..a7ca8704 100644
--- a/src/core/Pad.cpp
+++ b/src/core/Pad.cpp
@@ -369,10 +369,10 @@ CControllerState::Clear(void)
void CKeyboardState::Clear()
{
- for ( int32 i = 0; i < 12; i++ )
+ for ( int32 i = 0; i < ARRAY_SIZE(F); i++ )
F[i] = 0;
- for ( int32 i = 0; i < 256; i++ )
+ for ( int32 i = 0; i < ARRAY_SIZE(VK_KEYS); i++ )
VK_KEYS[i] = 0;
ESC = INS = DEL = HOME = END = PGUP = PGDN = 0;