implement GetGlobalComment

This commit is contained in:
Glenn Maynard
2005-12-13 03:07:48 +00:00
parent 0e5ba41c65
commit c2b70be5cb
2 changed files with 4 additions and 8 deletions
+2 -6
View File
@@ -90,7 +90,8 @@ bool RageFileDriverZip::ReadEndCentralRecord( int &iTotalEntries, int &iCentralD
iTotalEntries = FileReading::read_16_le( *m_pZip, sError );
FileReading::read_32_le( *m_pZip, sError ); /* skip size of the central directory */
iCentralDirectoryOffset = FileReading::read_32_le( *m_pZip, sError );
FileReading::read_16_le( *m_pZip, sError ); /* skip zipfile comment length */
int iCommentLength = FileReading::read_16_le( *m_pZip, sError );
m_sComment = FileReading::ReadString( *m_pZip, iCommentLength, sError );
if( sError != "" )
{
@@ -357,11 +358,6 @@ void RageFileDriverZip::FlushDirCache( const RString &sPath )
}
RString RageFileDriverZip::GetGlobalComment() const
{
ASSERT(0);
}
/*
* Copyright (c) 2003-2005 Glenn Maynard. All rights reserved.
* All rights reserved.