Permit symbolic links in lovr.filesystem;

If needed, it can be made configurable later.
This commit is contained in:
bjorn 2019-05-24 19:16:43 -07:00
parent 9b6f7c35b4
commit d5ad10f408
1 changed files with 1 additions and 0 deletions

View File

@ -48,6 +48,7 @@ bool lovrFilesystemInit(const char* argExe, const char* argGame, const char* arg
lovrThrow("Could not initialize filesystem: %s", PHYSFS_getErrorByCode(PHYSFS_getLastErrorCode()));
}
PHYSFS_permitSymbolicLinks(1);
state.source = malloc(LOVR_PATH_MAX * sizeof(char));
lovrAssert(state.source, "Out of memory");
state.identity = NULL;