From ee259739d68f39cdb2732ee0c488ece53b959617 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Tue, 31 May 2005 21:54:41 +0000 Subject: [PATCH] remove unused RageFileManager::MountpointIsReady. ("Ready" checks are done through MemoryCardManager.) --- stepmania/src/RageFileManager.cpp | 19 ------------------- stepmania/src/RageFileManager.h | 1 - 2 files changed, 20 deletions(-) diff --git a/stepmania/src/RageFileManager.cpp b/stepmania/src/RageFileManager.cpp index c2c6364f1b..9813d31dce 100644 --- a/stepmania/src/RageFileManager.cpp +++ b/stepmania/src/RageFileManager.cpp @@ -555,25 +555,6 @@ bool RageFileManager::IsMounted( CString MountPoint ) return false; } -/* Return true if the driver with the given root path is ready (eg. CD or memory card - * inserted). */ -bool RageFileManager::MountpointIsReady( CString MountPoint ) -{ - vector aDriverList; - ReferenceAllDrivers( aDriverList ); - - for( unsigned i = 0; i < aDriverList.size(); ++i ) - { - if( aDriverList[i].MountPoint.CompareNoCase( MountPoint ) ) - continue; - - return aDriverList[i].driver->Ready(); - } - - UnreferenceAllDrivers( aDriverList ); - return false; -} - void RageFileManager::GetLoadedDrivers( vector &Mounts ) { LockMut( *g_Mutex ); diff --git a/stepmania/src/RageFileManager.h b/stepmania/src/RageFileManager.h index 9eea413a4b..35f07df015 100644 --- a/stepmania/src/RageFileManager.h +++ b/stepmania/src/RageFileManager.h @@ -38,7 +38,6 @@ public: * the driver. */ static void Remount( CString sMountpoint, CString sPath ); bool IsMounted( CString MountPoint ); - bool MountpointIsReady( CString MountPoint ); struct DriverLocation { CString Type, Root, MountPoint;