天天看點

cocos2d-x 鎖屏後Get data from file("/assets") failed

0.13-beta版本,修改CCFileUtils.cpp

const char* CCFileUtils::fullPathFromRelativePath(const char *pszRelativePath, ccResolutionType *pResolutionType) {

return "";

}

to

const char* CCFileUtils::fullPathFromRelativePath(const char *pszRelativePath, ccResolutionType *pResolutionType) {

return pszRelativePath;

}