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 # pathCache=true
# Add 'rtp1', 'rtp2.zip' and 'game.rgssad' to the # Add 'rtp1', 'rtp2.zip' and 'game.rgssad' to the
# asset search path (multiple allowed) # asset search path (multiple allowed)
# (default: none) # (default: none)

View File

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