DevPlaceApp
#include "core/AppPaths.hpp"
#include <SDL3/SDL.h>
#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