MCPcopy Create free account
hub / github.com/TASEmulators/fceux / FCEU_DeleteAllCheats

Function FCEU_DeleteAllCheats

src/cheat.cpp:889–904  ·  view source on GitHub ↗

delete all cheats

Source from the content-addressed store, hash-verified

887
888// delete all cheats
889int 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
906int FCEUI_FindCheatMapByte(uint16 address)
907{

Callers 1

frzRamUnsetAllMethod · 0.85

Calls 1

RebuildSubCheatsFunction · 0.85

Tested by

no test coverage detected