disable all cheats
| 869 | |
| 870 | // disable all cheats |
| 871 | int FCEU_DisableAllCheats(void) |
| 872 | { |
| 873 | int count = 0; |
| 874 | struct CHEATF *next = cheats; |
| 875 | while(next) |
| 876 | { |
| 877 | if(next->status){ |
| 878 | count++; |
| 879 | } |
| 880 | next->status = 0; |
| 881 | next = next->next; |
| 882 | } |
| 883 | savecheats = 1; |
| 884 | RebuildSubCheats(); |
| 885 | return count; |
| 886 | } |
| 887 | |
| 888 | // delete all cheats |
| 889 | int FCEU_DeleteAllCheats(void) |
no test coverage detected