mirror of https://github.com/axmolengine/axmol.git
Adding LOG in CCFIleUtils::fullPathForFilename for Marmalade port.
This commit is contained in:
parent
bf571ace53
commit
6baeee3ff9
|
@ -131,6 +131,8 @@ std::string CCFileUtils::fullPathForFilename(const char* pszFileName)
|
|||
for (std::vector<std::string>::iterator resOrderIter = m_searchResolutionsOrderArray.begin();
|
||||
resOrderIter != m_searchResolutionsOrderArray.end(); ++resOrderIter) {
|
||||
|
||||
CCLOG("\n\nSEARCHING: %s, %s, %s", newFileName.c_str(), resOrderIter->c_str(), searchPathsIter->c_str());
|
||||
|
||||
fullpath = this->getPathForFilename(newFileName, *resOrderIter, *searchPathsIter);
|
||||
|
||||
// check if file or path exist
|
||||
|
@ -138,6 +140,7 @@ std::string CCFileUtils::fullPathForFilename(const char* pszFileName)
|
|||
{
|
||||
// Adding the full path to cache if the file was found.
|
||||
s_fullPathCache.insert(std::pair<std::string, std::string>(pszFileName, fullpath));
|
||||
CCLOG("Returning path: %s", fullpath.c_str());
|
||||
return fullpath;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue