const CString sPackPath = USER_PACK_SAVE_PATH + asPacks[i];
LOG->Info( "Loading user pack: %s", sPackPath.c_str() );
- if ( !IsPackAddable( sPackPath, sError ) ) // if it can't load it, forget it
+ if ( !IsPackMountable( sPackPath, sError ) ) // if it can't load it, forget it
{
LOG->Warn( "Error adding user pack %s: %s", sPackPath.c_str(), sError.c_str() );
continue;
static const int NUM_BLACKLISTED_FOLDERS = 4;
static const char *BLACKLISTED_FOLDERS[] = { "Data", "Program", "Themes/default", "Themes/home" };
-bool UserPackManager::IsPackAddable( const CString &sPack, CString &sError )
+bool UserPackManager::IsPackMountable( const CString &sPack, CString &sError )
{
RageFileDriverZip *pZip = new RageFileDriverZip;
void GetUserPacks( CStringArray &sAddTo );
void MountAll();
- bool IsPackAddable( const CString &sPack, CString &sError );
+ bool IsPackMountable( const CString &sPack, CString &sError );
bool Remove( const CString &sPack );
bool IsPackTransferable( const CString sPack, CString &sError );