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

Function FCEUI_ListCheats

src/cheat.cpp:442–451  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440
441
442void FCEUI_ListCheats(int (*callb)(const char *name, uint32 a, uint8 v, int compare, int s, int type, void *data), void *data)
443{
444 struct CHEATF *next=cheats;
445
446 while(next)
447 {
448 if(!callb(next->name.c_str(),next->addr,next->val,next->compare,next->status,next->type,data)) break;
449 next=next->next;
450 }
451}
452
453int FCEUI_GetCheat(uint32 which, std::string *name, uint32 *a, uint8 *v, int *compare, int *s, int *type)
454{

Callers 8

FreezeRamFunction · 0.85
RedoCheatsLBFunction · 0.85
frzRamSetMethod · 0.85
frzRamUnsetMethod · 0.85
frzRamToggleMethod · 0.85
showActiveCheatListMethod · 0.85
showActiveCheatListMethod · 0.85
ListCheatsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected