diff --git a/stepmania/src/RageFileManager.cpp b/stepmania/src/RageFileManager.cpp index 85f1499376..6d0250b92f 100644 --- a/stepmania/src/RageFileManager.cpp +++ b/stepmania/src/RageFileManager.cpp @@ -441,9 +441,9 @@ void RageFileManager::CreateDir( const RString &sDir ) // YUCK: The dir cache doesn't have this new file we just created, // so the delete will fail unless we flush. - FILEMAN->FlushDirCache( sDir ); + FlushDirCache( sDir ); - FILEMAN->Remove( sTempFile ); + Remove( sTempFile ); } static void AdjustMountpoint( RString &sMountPoint ) @@ -581,7 +581,7 @@ void RageFileManager::Unmount( const RString &sType, const RString &sRoot_, cons void RageFileManager::Remount( RString sMountpoint, RString sPath ) { - RageFileDriver *pDriver = FILEMAN->GetFileDriver( sMountpoint ); + RageFileDriver *pDriver = GetFileDriver( sMountpoint ); if( pDriver == NULL ) { if( LOG ) @@ -594,7 +594,7 @@ void RageFileManager::Remount( RString sMountpoint, RString sPath ) else pDriver->FlushDirCache( "" ); - FILEMAN->ReleaseFileDriver( pDriver ); + ReleaseFileDriver( pDriver ); } bool RageFileManager::IsMounted( RString MountPoint ) diff --git a/stepmania/src/RageFileManager.h b/stepmania/src/RageFileManager.h index 18bcf38262..a2f92547ae 100644 --- a/stepmania/src/RageFileManager.h +++ b/stepmania/src/RageFileManager.h @@ -41,7 +41,7 @@ public: /* Change the root of a filesystem. Only a couple drivers support this; it's * used to change memory card mountpoints without having to actually unmount * the driver. */ - static void Remount( RString sMountpoint, RString sPath ); + void Remount( RString sMountpoint, RString sPath ); bool IsMounted( RString MountPoint ); struct DriverLocation {