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

Function FCEUI_CheatSearchGetCount

src/cheat.cpp:700–712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

698
699
700int32 FCEUI_CheatSearchGetCount(void)
701{
702 uint32 x,c=0;
703
704 if(CheatComp)
705 {
706 for(x=0x0000;x<0x10000;x++)
707 if(!(CheatComp[x]&CHEATC_NOSHOW) && CheatRPtrs[x>>10])
708 c++;
709 }
710
711 return c;
712}
713/* This function will give the initial value of the search and the current value at a location. */
714
715void FCEUI_CheatSearchGet(int (*callb)(uint32 a, uint8 last, uint8 current, void *data),void *data)

Callers 4

ShowResultsFunction · 0.85
ShowResFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected