allow to opt out of HOME config path

pcsx_rearmed never used it so keep it this way there.
This commit is contained in:
notaz 2021-10-31 16:33:02 +02:00
parent 76e45c3489
commit e50d6e0656

View file

@ -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;