more iOS port fix

This commit is contained in:
Xawotihs
2010-11-23 23:35:40 +00:00
parent ba027c9f8e
commit 7e37e68755
3 changed files with 4 additions and 8 deletions

View File

@@ -278,11 +278,7 @@ int GameStateMenu::nextDirectory(const char * root, const char * file)
int found = 0;
if (!mDip)
{
#ifdef IOS
mDip = opendir(JGE_GET_RES(root).c_str());
#else
mDip = opendir(root);
#endif //IOS
}
while (!found && (mDit = readdir(mDip)))