| 344 | |
| 345 | static int lid; |
| 346 | static int clistcallb(const char *name, uint32 a, uint8 v, int compare, int s, int type, void *data) |
| 347 | { |
| 348 | char tmp[512]; |
| 349 | int ret; |
| 350 | |
| 351 | if(compare>=0) |
| 352 | sprintf(tmp,"%s $%04x:%03u:%03d - %s",s?"*":" ",(unsigned int)a,(unsigned int)v,compare,name); |
| 353 | else |
| 354 | sprintf(tmp,"%s $%04x:%03u - %s",s?"*":" ",(unsigned int)a,(unsigned int)v,name); |
| 355 | if(type==1) |
| 356 | tmp[2]='S'; |
| 357 | ret=AddToList(tmp,lid); |
| 358 | lid++; |
| 359 | return(ret); |
| 360 | } |
| 361 | |
| 362 | static void ListCheats(void) |
| 363 | { |
nothing calls this directly
no test coverage detected