MCPcopy Create free account
hub / github.com/diasurgical/devilution / getIniPath

Function getIniPath

SourceX/storm/storm.cpp:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28#endif
29
30static std::string getIniPath()
31{
32 char path[DVL_MAX_PATH];
33 GetPrefPath(path, DVL_MAX_PATH);
34 std::string result = path;
35 result.append("diablo.ini");
36 return result;
37}
38
39static radon::File ini(getIniPath());
40static Mix_Chunk *SFileChunk;

Callers 1

storm.cppFile · 0.85

Calls 1

GetPrefPathFunction · 0.85

Tested by

no test coverage detected