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

Function ShowRes

src/drivers/common/cheat.cpp:406–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404}
405
406static void ShowRes(void)
407{
408 int n=FCEUI_CheatSearchGetCount();
409 printf(" %d results:\n",n);
410 if(n)
411 {
412 int which;
413 BeginListShow();
414 FCEUI_CheatSearchGet(srescallb,0);
415 which=EndListShow();
416 if(which>=0)
417 AddCheatParam(which,0);
418 }
419}
420
421static int ShowShortList(const char *moe[], int n, int def)
422{

Callers

nothing calls this directly

Calls 5

BeginListShowFunction · 0.85
FCEUI_CheatSearchGetFunction · 0.85
EndListShowFunction · 0.85
AddCheatParamFunction · 0.85

Tested by

no test coverage detected