diff options
Diffstat (limited to '')
-rw-r--r-- | src/core/Pad.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp index f83998b8..201dc5b6 100644 --- a/src/core/Pad.cpp +++ b/src/core/Pad.cpp @@ -644,6 +644,8 @@ void CPad::AddToCheatString(char c) { for ( int32 i = ARRAY_SIZE(CheatString) - 2; i >= 0; i-- ) CheatString[i + 1] = CheatString[i]; + + CheatString[0] = c; #define _CHEATCMP(str) strncmp(str, CheatString, sizeof(str)-1) // "4414LDRULDRU" - R2 R2 L1 R2 LEFT DOWN RIGHT UP LEFT DOWN RIGHT UP |