[Scummvm-cvs-logs] SF.net SVN: scummvm:[39022] scummvm/trunk/backends/platform/iphone/ osys_iphone.cpp

vinterstum at users.sourceforge.net vinterstum at users.sourceforge.net
Sun Mar 1 10:05:52 CET 2009


Revision: 39022
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39022&view=rev
Author:   vinterstum
Date:     2009-03-01 09:05:48 +0000 (Sun, 01 Mar 2009)

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

Modified Paths:
--------------
    scummvm/trunk/backends/platform/iphone/osys_iphone.cpp

Modified: scummvm/trunk/backends/platform/iphone/osys_iphone.cpp
===================================================================
--- scummvm/trunk/backends/platform/iphone/osys_iphone.cpp	2009-03-01 09:04:19 UTC (rev 39021)
+++ scummvm/trunk/backends/platform/iphone/osys_iphone.cpp	2009-03-01 09:05:48 UTC (rev 39022)
@@ -1408,8 +1408,12 @@
 	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);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list