ResetBuf -> ResetReadBuf
This commit is contained in:
@@ -6,7 +6,7 @@ RageFileObj::RageFileObj()
|
|||||||
{
|
{
|
||||||
m_pReadBuffer = NULL;
|
m_pReadBuffer = NULL;
|
||||||
|
|
||||||
ResetBuf();
|
ResetReadBuf();
|
||||||
|
|
||||||
m_iReadBufAvail = 0;
|
m_iReadBufAvail = 0;
|
||||||
m_bEOF = false;
|
m_bEOF = false;
|
||||||
@@ -56,7 +56,7 @@ int RageFileObj::Seek( int iOffset )
|
|||||||
/* If we're calculating a CRC32, disable it. */
|
/* If we're calculating a CRC32, disable it. */
|
||||||
m_bCRC32Enabled = false;
|
m_bCRC32Enabled = false;
|
||||||
|
|
||||||
ResetBuf();
|
ResetReadBuf();
|
||||||
|
|
||||||
int iPos = SeekInternal( iOffset );
|
int iPos = SeekInternal( iOffset );
|
||||||
if( iPos != -1 )
|
if( iPos != -1 )
|
||||||
@@ -356,7 +356,7 @@ int RageFileObj::FillReadBuf()
|
|||||||
return iSize;
|
return iSize;
|
||||||
}
|
}
|
||||||
|
|
||||||
void RageFileObj::ResetBuf()
|
void RageFileObj::ResetReadBuf()
|
||||||
{
|
{
|
||||||
m_iReadBufAvail = 0;
|
m_iReadBufAvail = 0;
|
||||||
m_pReadBuf = m_pReadBuffer;
|
m_pReadBuf = m_pReadBuffer;
|
||||||
|
|||||||
@@ -104,7 +104,7 @@ protected:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
int FillReadBuf();
|
int FillReadBuf();
|
||||||
void ResetBuf();
|
void ResetReadBuf();
|
||||||
|
|
||||||
bool m_bEOF;
|
bool m_bEOF;
|
||||||
int m_iFilePos;
|
int m_iFilePos;
|
||||||
|
|||||||
Reference in New Issue
Block a user