From: notaz Date: Sun, 31 Oct 2021 14:33:02 +0000 (+0200) Subject: allow to opt out of HOME config path X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e50d6e0656e2a31d45ddc52c13b3da6738e93a17;p=libpicofe.git allow to opt out of HOME config path pcsx_rearmed never used it so keep it this way there. --- diff --git a/linux/plat.c b/linux/plat.c index 779d5b1..45ae371 100644 --- a/linux/plat.c +++ b/linux/plat.c @@ -86,7 +86,7 @@ int plat_get_skin_dir(char *dst, int len) #endif int plat_get_root_dir(char *dst, int len) { -#if !defined(__GP2X__) && !defined(PANDORA) +#if !defined(NO_HOME_DIR) && !defined(__GP2X__) && !defined(PANDORA) const char *home = getenv("HOME"); int ret;