#include "core/AppPaths.hpp" #include #include "spec/StoreKeys.hpp" namespace dp { std::string AppPaths::prefDirectory() { char* raw = SDL_GetPrefPath(spec::AppIdentity::kOrg, spec::AppIdentity::kApp); if (!raw) return {}; std::string path = raw; SDL_free(raw); return path; } } // namespace dp