Ipad and ipad-hd suffix seem not to be working on cocos2dx-rc2-2.0.1

Hi,

I’ve noticed that if I have a resource on an iPad game made with cocos2dx the suffix auto-addition is not working.

For instance, imagine that we have: mainmenu-ipad.png and mainmenu-ipadhd.png in our project. Then we try to load that image in the most simple way: CCSprite* pSprite = CCSprite::create(“mainmenu.pvr”);

This will not work, and the log will also show this: Cocos2d: cocos2d: CCFileUtils: Warning file not found: mainmenu-ipadhd.pvr

So might this be a bug?

solution found here: