From b53fa472fc7789a33b9e2e2250877be356ca1ef2 Mon Sep 17 00:00:00 2001 From: Ryan Dortmans Date: Fri, 1 Oct 2004 02:36:51 +0000 Subject: [PATCH] Xbox: fix so that zips are mounted correctly --- stepmania/src/StepMania.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index 0bf9e9aa5d..e9574698d9 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -784,8 +784,11 @@ static void MountTreeOfZips( const CString &dir ) CString path = dirs.back(); dirs.pop_back(); +#if !defined(XBOX) + // Xbox doesn't detect directories properly, so we'll ignore this if( !IsADirectory(path) ) continue; +#endif vector zips; GetDirListing( path + "/*.zip", zips, false, true );