From dd33bb61d7d7dec46d58681d4b1593c3119ca548 Mon Sep 17 00:00:00 2001 From: Patrick McIlroy Date: Wed, 20 Feb 2008 06:57:09 +0000 Subject: [PATCH] git-svn-id: https://openitg.svn.sourceforge.net/svnroot/openitg@31 83fadc84-e282-4d84-a09a-c4228d6ae7e5 --- src/StepMania.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/StepMania.cpp b/src/StepMania.cpp index 3b4a0f8e..a0d63420 100755 --- a/src/StepMania.cpp +++ b/src/StepMania.cpp @@ -863,6 +863,13 @@ static void MountTreeOfZips( const CString &dir ) GetDirListing( path + "/*", dirs, true, true ); } + + if ( IsADirectory("/Data/Patch") ) + { + FILEMAN->Mount( "patch", "/Data/Patch", "/Patch" ); + if ( IsAFile("/Patch/patch.zip") ) + FILEMAN->Mount( "zip", "/Patch/patch.zip", "/", false ); + } } #if defined(HAVE_VERSION_INFO) @@ -1031,7 +1038,7 @@ int main(int argc, char* argv[]) { CStringArray dzips; - GetDirListing( "/CryptPackages/d*.zip", dzips, false, true ); + GetDirListing( "/CryptPackages/*.zip", dzips, false, true ); for( unsigned i = 0; i < dzips.size(); ++i ) { -- 2.11.0