MCPcopy Create free account
hub / github.com/IppClub/Dora-SSR / getPrefPath

Function getPrefPath

Source/Basic/Content.cpp:1509–1515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1507}
1508
1509static std::string getPrefPath() {
1510 char* prefPath = SDL_GetPrefPath(DORA_DEFAULT_ORG_NAME, DORA_DEFAULT_APP_NAME);
1511 std::string appPath = prefPath;
1512 trimTrailingSlashes(appPath);
1513 SDL_free(prefPath);
1514 return appPath;
1515}
1516
1517#if BX_PLATFORM_ANDROID
1518Content::Content()

Callers 1

ContentMethod · 0.85

Calls 3

trimTrailingSlashesFunction · 0.85
SDL_freeFunction · 0.85
SDL_GetPrefPathFunction · 0.50

Tested by

no test coverage detected