mirror of
https://github.com/love2d/love.git
synced 2026-08-20 20:49:54 +02:00
now does what the previous commit was supposed to make it do, but with fewer bugs
This commit is contained in:
@@ -177,7 +177,7 @@ namespace physfs
|
|||||||
#ifdef WINDOWS
|
#ifdef WINDOWS
|
||||||
return getenv("APPDATA");
|
return getenv("APPDATA");
|
||||||
#elif defined(LOVE_MACOSX)
|
#elif defined(LOVE_MACOSX)
|
||||||
std::string udir(getUserDirectory());
|
std::string udir = getUserDirectory();
|
||||||
udir.append("/Library/Application Support");
|
udir.append("/Library/Application Support");
|
||||||
return udir.c_str();
|
return udir.c_str();
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -49,7 +49,11 @@
|
|||||||
# define LOVE_PATH_SEPARATOR "/"
|
# define LOVE_PATH_SEPARATOR "/"
|
||||||
# define LOVE_MAX_PATH _MAX_PATH
|
# define LOVE_MAX_PATH _MAX_PATH
|
||||||
#else
|
#else
|
||||||
# define LOVE_APPDATA_FOLDER ".love"
|
# ifdef LOVE_MACOSX
|
||||||
|
# define LOVE_APPDATA_FOLDER "LOVE"
|
||||||
|
# else
|
||||||
|
# define LOVE_APPDATA_FOLDER ".love"
|
||||||
|
# endif
|
||||||
# define LOVE_PATH_SEPARATOR "/"
|
# define LOVE_PATH_SEPARATOR "/"
|
||||||
# define LOVE_MAX_PATH MAXPATHLEN
|
# define LOVE_MAX_PATH MAXPATHLEN
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user