| 3572 | static int totaltrainers; |
| 3573 | |
| 3574 | static void clearcheater(void) |
| 3575 | { |
| 3576 | if (!trainerdata) |
| 3577 | trainerdata = xmalloc(struct trainerstruct, MAX_CHEAT_VIEW); |
| 3578 | memset(trainerdata, 0, sizeof (struct trainerstruct) * MAX_CHEAT_VIEW); |
| 3579 | totaltrainers = 0; |
| 3580 | } |
| 3581 | static int addcheater(uaecptr addr, int size) |
| 3582 | { |
| 3583 | if (totaltrainers >= MAX_CHEAT_VIEW) |
no outgoing calls
no test coverage detected