This commit is contained in:
Jonas Kulla 2014-05-21 18:10:14 +02:00
parent d09f4a1bae
commit 32bb18d93f
2 changed files with 7 additions and 6 deletions

View File

@ -106,6 +106,7 @@
#
# pathCache=true
# Add 'rtp1', 'rtp2.zip' and 'game.rgssad' to the
# asset search path (multiple allowed)
# (default: none)

View File

@ -664,9 +664,9 @@ struct FileSystemPrivate
/* Complete filename via path cache */
bool completeFilenamePC(const char *filename,
FileSystem::FileType type,
char *outBuffer,
size_t outN,
const char **foundExt)
char *outBuffer,
size_t outN,
const char **foundExt)
{
size_t i;
char lowCase[512];
@ -718,9 +718,9 @@ struct FileSystemPrivate
* returns false, and 'foundExt' is untouched */
bool completeFileName(const char *filename,
FileSystem::FileType type,
char *outBuffer,
size_t outN,
const char **foundExt)
char *outBuffer,
size_t outN,
const char **foundExt)
{
if (havePathCache)
return completeFilenamePC(filename, type, outBuffer, outN, foundExt);