MCPcopy Create free account
hub / github.com/DaedalusX64/daedalus / RomIDFromString

Function RomIDFromString

Source/Utility/Preferences.cpp:120–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120static RomID RomIDFromString( const char * str )
121{
122 u32 crc1, crc2, country;
123 sscanf( str, "%08x%08x-%02x", &crc1, &crc2, &country );
124 return RomID( crc1, crc2, (u8)country );
125}
126
127bool IPreferences::OpenPreferencesFile( const char * filename )
128{

Callers 1

OpenPreferencesFileMethod · 0.70

Calls 1

RomIDClass · 0.70

Tested by

no test coverage detected