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

Function FCEUI_CheatSearchSetCurrentAsOriginal

src/cheat.cpp:669–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

667}
668
669void FCEUI_CheatSearchSetCurrentAsOriginal(void)
670{
671 uint32 x;
672
673 if(!CheatComp)
674 {
675 if(InitCheatComp())
676 {
677 CheatMemErr();
678 return;
679 }
680 }
681 for(x=0x000;x<0x10000;x++)
682 if(!(CheatComp[x]&CHEATC_NOSHOW))
683 {
684 if(CheatRPtrs[x>>10])
685 CheatComp[x]=CheatRPtrs[x>>10][x];
686 else
687 CheatComp[x]|=CHEATC_NONE;
688 }
689}
690
691void FCEUI_CheatSearchShowExcluded(void)
692{

Callers 2

CheatConsoleCallBFunction · 0.85
SetOCFunction · 0.85

Calls 2

InitCheatCompFunction · 0.85
CheatMemErrFunction · 0.85

Tested by

no test coverage detected