Lines 2386-2392
Link Here
|
2386 |
|
2386 |
|
2387 |
/* Add the base dir to the search path. The base dir is where all the |
2387 |
/* Add the base dir to the search path. The base dir is where all the |
2388 |
* defaults are (or should be). */ |
2388 |
* defaults are (or should be). */ |
2389 |
if (!PHYSFS_addToSearchPath(PHYSFS_getBaseDir(), 1)) |
2389 |
if (!PHYSFS_addToSearchPath(SYSPATH, 1)) |
2390 |
{ |
2390 |
{ |
2391 |
LOG(LOG_MSG, "%s\n", PHYSFS_getLastError()); |
2391 |
LOG(LOG_MSG, "%s\n", PHYSFS_getLastError()); |
2392 |
} |
2392 |
} |
Lines 2545-2557
Link Here
|
2545 |
|
2545 |
|
2546 |
/* Prepend the user dir to the search path. This means files are read from |
2546 |
/* Prepend the user dir to the search path. This means files are read from |
2547 |
* this location in preference to the defaults. */ |
2547 |
* this location in preference to the defaults. */ |
2548 |
if (strcmp(PHYSFS_getBaseDir(), home)) |
2548 |
/*if (strcmp(PHYSFS_getBaseDir(), home)) |
2549 |
{ |
2549 |
{*/ |
2550 |
if (!PHYSFS_addToSearchPath(home, 0)) |
2550 |
if (!PHYSFS_addToSearchPath(home, 0)) |
2551 |
{ |
2551 |
{ |
2552 |
LOG(LOG_ERROR, "%s\n", PHYSFS_getLastError()); |
2552 |
LOG(LOG_ERROR, "%s\n", PHYSFS_getLastError()); |
2553 |
} |
2553 |
} |
2554 |
} |
2554 |
//} |
2555 |
|
2555 |
|
2556 |
/* Prepend any add-on packs to the search path. This means files are read |
2556 |
/* Prepend any add-on packs to the search path. This means files are read |
2557 |
* from these locations in preference to the defaults and the user dir. */ |
2557 |
* from these locations in preference to the defaults and the user dir. */ |