MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / getConfigPath

Method getConfigPath

src/SystemData.cpp:327–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327std::string SystemData::getConfigPath()
328{
329 std::string home = getHomePath();
330 if(home.empty())
331 {
332 LOG(LogError) << "$HOME environment variable empty or nonexistant!";
333 exit(1);
334 return "";
335 }
336
337 return(home + "/.emulationstation/es_systems.cfg");
338}
339
340FolderData* SystemData::getRootFolder()
341{

Callers

nothing calls this directly

Calls 2

getHomePathFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected