When built with the xcode project, the file browser will now start browing for files inside the application bundle directory

svn-id: r39022
This commit is contained in:
Oystein Eftevaag 2009-03-01 09:05:48 +00:00
parent b9a5562ab8
commit 99df3ccd73

View File

@ -1408,8 +1408,12 @@ void iphone_main(int argc, char *argv[]) {
system("mkdir " SCUMMVM_ROOT_PATH);
system("mkdir " SCUMMVM_SAVE_PATH);
#ifdef IPHONE_OFFICIAL
chdir( iPhone_getDocumentsDir() );
#else
chdir("/var/mobile/");
#endif
g_system = OSystem_IPHONE_create();
assert(g_system);