delete all cheats
| 887 | |
| 888 | // delete all cheats |
| 889 | int FCEU_DeleteAllCheats(void) |
| 890 | { |
| 891 | struct CHEATF *cur = cheats; |
| 892 | struct CHEATF *next = NULL; |
| 893 | while (cur) |
| 894 | { |
| 895 | next = cur->next; |
| 896 | delete cur; |
| 897 | cur = next; |
| 898 | } |
| 899 | cheats = cheatsl = 0; |
| 900 | savecheats = 1; |
| 901 | RebuildSubCheats(); |
| 902 | |
| 903 | return 0; |
| 904 | } |
| 905 | |
| 906 | int FCEUI_FindCheatMapByte(uint16 address) |
| 907 | { |
no test coverage detected