From a06fe8e74c3a598445e75ac074e3b98aefe63280 Mon Sep 17 00:00:00 2001 From: Patrick McIlroy Date: Sun, 24 Feb 2008 08:10:17 +0000 Subject: [PATCH] git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg@44 83fadc84-e282-4d84-a09a-c4228d6ae7e5 --- src/StepMania.cpp | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/StepMania.cpp b/src/StepMania.cpp index d736d955..c7bee717 100755 --- a/src/StepMania.cpp +++ b/src/StepMania.cpp @@ -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 ); } } -- 2.11.0