MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / clearcheater

Function clearcheater

src/debug.cpp:3574–3580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3572static int totaltrainers;
3573
3574static 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}
3581static int addcheater(uaecptr addr, int size)
3582{
3583 if (totaltrainers >= MAX_CHEAT_VIEW)

Callers 2

deepcheatsearchFunction · 0.85
cheatsearchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected