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

Function FCEU_ApplyPeriodicCheats

src/cheat.cpp:424–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424void FCEU_ApplyPeriodicCheats(void)
425{
426 struct CHEATF *cur=cheats;
427 if(!cur) return;
428
429 for(;;)
430 {
431 if(cur->status && !(cur->type))
432 if(CheatRPtrs[cur->addr>>10])
433 CheatRPtrs[cur->addr>>10][cur->addr]=cur->val;
434 if(cur->next)
435 cur=cur->next;
436 else
437 break;
438 }
439}
440
441
442void FCEUI_ListCheats(int (*callb)(const char *name, uint32 a, uint8 v, int compare, int s, int type, void *data), void *data)

Callers 1

FCEUI_EmulateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected