| 440 | |
| 441 | |
| 442 | void 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 | |
| 453 | int FCEUI_GetCheat(uint32 which, std::string *name, uint32 *a, uint8 *v, int *compare, int *s, int *type) |
| 454 | { |
no outgoing calls
no test coverage detected