| 331 | } |
| 332 | |
| 333 | S32 TestCheat(U32 cheat[]) |
| 334 | { |
| 335 | S32 i = 15; |
| 336 | |
| 337 | if (!cheat[i]) |
| 338 | { |
| 339 | return 0; |
| 340 | } |
| 341 | |
| 342 | for (i; i >= 0; i--) |
| 343 | { |
| 344 | if (cheat[i] != sCheatPressed[i]) |
| 345 | { |
| 346 | return 0; |
| 347 | } |
| 348 | } |
| 349 | |
| 350 | return 1; |
| 351 | } |
| 352 | |
| 353 | void AddToCheatPressed(U32 button) |
| 354 | { |