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;