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

Function GGtobin

src/cheat.cpp:482–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482static int GGtobin(char c)
483{
484 static char lets[16]={'A','P','Z','L','G','I','T','Y','E','O','X','U','K','S','V','N'};
485 int x;
486
487 for(x=0;x<16;x++)
488 if(lets[x] == toupper(c)) return(x);
489 return(0);
490}
491
492/* Returns 1 on success, 0 on failure. Sets *a,*v,*c. */
493int FCEUI_DecodeGG(const char *str, int *a, int *v, int *c)

Callers 1

FCEUI_DecodeGGFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected