Update CCDevice.mm