git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg@44 83fadc84-e282...
authorPatrick McIlroy <itgpmc@gmail.com>
Sun, 24 Feb 2008 08:10:17 +0000 (08:10 +0000)
committerPatrick McIlroy <itgpmc@gmail.com>
Sun, 24 Feb 2008 08:10:17 +0000 (08:10 +0000)
src/StepMania.cpp

index d736d95..c7bee71 100755 (executable)
@@ -922,11 +922,19 @@ static void MountTreeOfZips( const CString &dir )
                GetDirListing( path + "/*", dirs, true, true );
        }
 
-       if ( IsADirectory("/Data/Patch") )
+#ifdef LINUX
+       if ( IsAFile("/rootfs/stats/patch/patch.zip") )
+#else
+       if ( IsAFile("Data/patch/patch.zip") )
+#endif
        {
-               FILEMAN->Mount( "patch", "/Data/Patch", "/Patch" );
-               if ( IsAFile("/Patch/patch.zip") )
-                       FILEMAN->Mount( "zip", "/Patch/patch.zip", "/", false );
+
+#ifdef LINUX
+               FILEMAN->Mount( "patch", "/stats/patch", "/Patch" );
+#else
+               FILEMAN->Mount( "patch", "Data/patch", "/Patch" );
+#endif
+               FILEMAN->Mount( "zip", "/Patch/patch.zip", "/", false );
        }
 }