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

Method scan

src/utils/guid.cpp:37–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void FCEU_Guid::scan(std::string& str)
38{
39 char* endptr = (char*)str.c_str();
40 FCEU_en32lsb(data,strtoul(endptr,&endptr,16));
41 FCEU_en16lsb(data+4,strtoul(endptr+1,&endptr,16));
42 FCEU_en16lsb(data+6,strtoul(endptr+1,&endptr,16));
43 FCEU_en16lsb(data+8,strtoul(endptr+1,&endptr,16));
44 endptr++;
45 for(int i=0;i<6;i++)
46 data[10+i] = hexToByte(&endptr);
47}

Callers 1

fromStringMethod · 0.80

Calls 2

FCEU_en32lsbFunction · 0.85
FCEU_en16lsbFunction · 0.85

Tested by

no test coverage detected