mirror of https://github.com/axmolengine/axmol.git
fixed #455: CCUserDefault works ok on iOS
This commit is contained in:
parent
7e40957e04
commit
6c69107f33
|
@ -340,5 +340,11 @@ bool CCFileUtils::getIsPopupNotify()
|
||||||
return s_bPopupNotify;
|
return s_bPopupNotify;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CCFileUtils::getWriteablePath()
|
||||||
|
{
|
||||||
|
// fixed me, what path can airplay can write
|
||||||
|
return string("");
|
||||||
|
}
|
||||||
|
|
||||||
NS_CC_END;
|
NS_CC_END;
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
8c9f77a384b0e17df11cc843e89538b603e91f12
|
d1962bc646d8650f27302fd6c32dff2d9d4ab6a5
|
|
@ -1 +1 @@
|
||||||
2fc55bb5f8692cca82e907045481456851797347
|
6c636339fa5aff82bfca50d9da220b50af5c0053
|
|
@ -1 +1 @@
|
||||||
bf9495b1eb39b27435866491b2da9918233c5c90
|
aeb5b381069888074bcb7bd1b6e3e658e1262d7d
|
|
@ -1 +1 @@
|
||||||
b7c09f3e759444e6da344ba829bac49f6742d22d
|
9f36b35f636dbc0d59f5e319e14cadb04630172a
|
|
@ -109,8 +109,10 @@ static TestScene* CreateTestScene(int nIdx)
|
||||||
pScene = new ZwoptexTestScene(); break;
|
pScene = new ZwoptexTestScene(); break;
|
||||||
case TEST_CURL:
|
case TEST_CURL:
|
||||||
pScene = new CurlTestScene(); break;
|
pScene = new CurlTestScene(); break;
|
||||||
|
#if (CC_TARGET_PLATFORM != CC_PLATFORM_AIRPLAY)
|
||||||
case TEST_USERDEFAULT:
|
case TEST_USERDEFAULT:
|
||||||
pScene = new UserDefaultTestScene(); break;
|
pScene = new UserDefaultTestScene(); break;
|
||||||
|
#endif
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue