diff --git a/cocos2dx/platform/marmalade/CCFileUtils.cpp b/cocos2dx/platform/marmalade/CCFileUtils.cpp index 10621aa962..2d5e712424 100644 --- a/cocos2dx/platform/marmalade/CCFileUtils.cpp +++ b/cocos2dx/platform/marmalade/CCFileUtils.cpp @@ -131,6 +131,8 @@ std::string CCFileUtils::fullPathForFilename(const char* pszFileName) for (std::vector::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(pszFileName, fullpath)); + CCLOG("Returning path: %s", fullpath.c_str()); return fullpath; } }