summaryrefslogtreecommitdiffstats
path: root/src/Pad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Pad.cpp')
-rw-r--r--src/Pad.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Pad.cpp b/src/Pad.cpp
index 1615b0cd..ab00e88f 100644
--- a/src/Pad.cpp
+++ b/src/Pad.cpp
@@ -1837,7 +1837,7 @@ int32 *CPad::EditCodesForControls(int32 *pRsKeys, int32 nSize)
*pRsKeys = i;
}
- for ( int32 i = 0; i < 255; i++ )
+ for ( int32 i = 0; i < 12; i++ )
{
if ( GetPad(0)->GetFJustDown(i) )
*pRsKeys = i + rsF1;