cocos2d/cocos2d-x — pull request #1783 by fape (2012-12-24 16:27:22+00:00)
Title: marmalade acceleromater improvement

Use CCDirector->getAccelerometer() instead of CCAccelerometer::sharedAccelerometer(), because sharedAccelerometer() does NOT contains m_pAccelDelegate "callback" instance (m_pAccelDelegate allways NULL)